From aa4824b6a2718cc8b0c6e93dfb530e4db197e8f6 Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Thu, 12 Oct 2023 14:48:26 +0100 Subject: [PATCH] ~ --- Dockerfile | 5 +---- README.md | 2 +- g4f/__init__.py | 2 +- requirements.txt | 4 +--- setup.py | 2 +- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index f219c256..a4ab3733 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,11 +26,8 @@ RUN pip install --upgrade pip && pip install -r requirements.txt # This may include all code, assets, and configuration files required to run the application. COPY . /app/ -# Install additional requirements specific to the interference module/package. -RUN pip install -r etc/interference/requirements.txt - # Expose port 1337 EXPOSE 1337 # Define the default command to run the app using Python's module mode. -CMD ["python", "-m", "etc.interference.app"] \ No newline at end of file +CMD ["python", "-m", "g4f.api.run"] \ No newline at end of file diff --git a/README.md b/README.md index 59c743b5..1718e29e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ By using this repository or any code related to it, you agree to the [legal notice](./LEGAL_NOTICE.md). The author is not responsible for any copies, forks, reuploads made by other users, or anything else related to gpt4free. This is the author's only account and repository. To prevent impersonation or irresponsible actions, please comply with the GNU GPL license this Repository uses. -- latest pypi version: [`0.1.6.1`](https://pypi.org/project/g4f/0.1.6.1): +- latest pypi version: [`0.1.6.2`](https://pypi.org/project/g4f/0.1.6.2): ```sh pip install -U g4f ``` diff --git a/g4f/__init__.py b/g4f/__init__.py index b7467fb5..7ae81922 100644 --- a/g4f/__init__.py +++ b/g4f/__init__.py @@ -5,7 +5,7 @@ from .Provider import BaseProvider from .typing import Messages, CreateResult, Union from .debug import logging -version = '0.1.6.1' +version = '0.1.6.2' version_check = True def check_pypi_version() -> None: diff --git a/requirements.txt b/requirements.txt index 4b0a46fd..75549d68 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,6 +10,4 @@ flask flask-cors typing-extensions PyExecJS -duckduckgo-search -transformers -tensorflow +duckduckgo-search \ No newline at end of file diff --git a/setup.py b/setup.py index 5fb56896..8fb7e593 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh: with open("requirements.txt") as f: required = f.read().splitlines() -VERSION = "0.1.6.1" +VERSION = "0.1.6.2" DESCRIPTION = ( "The official gpt4free repository | various collection of powerful language models" )