From 2cca6a7cdd87f39468c4d462a2895cb79a77451a Mon Sep 17 00:00:00 2001 From: "benying1988@gmail.com" Date: Fri, 19 May 2023 17:00:27 +0800 Subject: feat: update readme to install ffmpeg and set proxy --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 98174965..1159ea98 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,32 @@ python3 -m venv venv pip3 install -r requirements.txt ``` +## Install ffmpeg +```sh +sudo apt-get install ffmpeg +``` + +## Connect VPN if needed and get proxy (Optional) +```sh +echo "$http_proxy" # http://127.0.0.1:8889/ +``` + +## Set proxy in gpt4free/you/__init__.py (Optional) +``` +diff --git a/gpt4free/you/__init__.py b/gpt4free/you/__init__.py +index 11847fb..59d1162 100644 +--- a/gpt4free/you/__init__.py ++++ b/gpt4free/you/__init__.py +@@ -38,6 +38,7 @@ class Completion: + if chat is None: + chat = [] + ++ proxy = '127.0.0.1:8889' + proxies = {'http': 'http://' + proxy, 'https': 'http://' + proxy} if proxy else {} + + client = Session(client_identifier='chrome_108') +``` + ## To start gpt4free GUI -- cgit v1.2.3 From 288fe0777f527a59264560f14cfe0796d37c0dbe Mon Sep 17 00:00:00 2001 From: xtekky <98614666+xtekky@users.noreply.github.com> Date: Fri, 19 May 2023 14:17:27 +0100 Subject: countdown timer --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1159ea98..bc3b5a50 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,9 @@ Please note the following: 3. **Educational Purposes Only**: This repository and its content are provided strictly for educational purposes. By using the information and code provided, users acknowledge that they are using the APIs and models at their own risk and agree to comply with any applicable laws and regulations. -4. **Copyright**: All content in this repository, including but not limited to code, images, and documentation, is the intellectual property of the repository author, unless otherwise stated. Unauthorized copying, distribution, or use of any content in this repository is strictly prohibited without the express written consent of the repository author. +4. **Indemnification**: Users agree to indemnify, defend, and hold harmless the author of this repository from and against any and all claims, liabilities, damages, losses, or expenses, including legal fees and costs, arising out of or in any way connected with their use or misuse of this repository, its content, or related third-party APIs. -5. **Indemnification**: Users agree to indemnify, defend, and hold harmless the author of this repository from and against any and all claims, liabilities, damages, losses, or expenses, including legal fees and costs, arising out of or in any way connected with their use or misuse of this repository, its content, or related third-party APIs. - -6. **Updates and Changes**: The author reserves the right to modify, update, or remove any content, information, or features in this repository at any time without prior notice. Users are responsible for regularly reviewing the content and any changes made to this repository. +5. **Updates and Changes**: The author reserves the right to modify, update, or remove any content, information, or features in this repository at any time without prior notice. Users are responsible for regularly reviewing the content and any changes made to this repository. By using this repository or any code related to it, you agree to these terms. The author is not responsible for any copies, forks, or reuploads made by other users. This is the author's only account and repository. To prevent impersonation or irresponsible actions, you may comply with the GNU GPL license this Repository uses. -- cgit v1.2.3