From a5519223110ecbda965afc3f9266c85475d70cc1 Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Sun, 17 Sep 2023 22:38:55 +0100 Subject: ~ --- Dockerfile | 2 +- README.md | 3 --- docker-compose.yml | 2 +- interference/app.py | 2 +- requirements.txt | 2 +- testing/log_time.py | 2 +- tool/provider_init.py | 2 +- 7 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 36ca12f1..b84b3b3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,4 +30,4 @@ COPY . /app/ RUN pip install -r interference/requirements.txt # Define the default command to run the app using Python's module mode. -CMD ["python", "-m", "interference.app"] +CMD ["python", "-m", "interference.app"] \ No newline at end of file diff --git a/README.md b/README.md index 98757e56..e869b9f0 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,6 @@ 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. -This (quite censored) New Version of gpt4free, was just released so it may contain bugs. Please open an issue or contribute a PR when encountering one. -P.S: Docker is for now not available but I would be happy if someone contributes a PR. The g4f GUI will be uploaded soon enough. - ### New - pypi package: diff --git a/docker-compose.yml b/docker-compose.yml index 9d357e46..b044ed81 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,4 +10,4 @@ services: ports: - '1337:1337' environment: - - PYTHONUNBUFFERED=1 + - PYTHONUNBUFFERED=1 \ No newline at end of file diff --git a/interference/app.py b/interference/app.py index 836a751d..1b1af22f 100644 --- a/interference/app.py +++ b/interference/app.py @@ -93,4 +93,4 @@ def main(): if __name__ == "__main__": - main() + main() \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 7ee6e37c..dda80823 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,4 +9,4 @@ js2py quickjs flask flask-cors -typing-extensions +typing-extensions \ No newline at end of file diff --git a/testing/log_time.py b/testing/log_time.py index 7d268128..376ab86d 100644 --- a/testing/log_time.py +++ b/testing/log_time.py @@ -22,4 +22,4 @@ def log_time(method: callable, **kwargs): secs = f"{round(time() - start, 2)} secs" if result: return " ".join([result, secs]) - return secs + return secs \ No newline at end of file diff --git a/tool/provider_init.py b/tool/provider_init.py index cd7f9333..22f21d4d 100644 --- a/tool/provider_init.py +++ b/tool/provider_init.py @@ -30,4 +30,4 @@ def create_content(): if __name__ == "__main__": - main() \ No newline at end of file + main() -- cgit v1.2.3