返回提交历史
Modified
Dockerfile
+1
-4
Modified
README.md
+1
-1
Modified
g4f/__init__.py
+1
-1
Modified
requirements.txt
+1
-3
Modified
setup.py
+1
-1
XFEstudio/gpt4free
~
aa4824b6
代码差异
5 个文件
+5
-10
@@ -26,11 +26,8 @@ RUN pip install --upgrade pip && pip install -r requirements.txt
26
26
# This may include all code, assets, and configuration files required to run the application.
27
27
COPY . /app/
28
28
29
# Install additional requirements specific to the interference module/package.
30
RUN pip install -r etc/interference/requirements.txt
31
32
29
# Expose port 1337
33
30
EXPOSE 1337
34
31
35
32
# Define the default command to run the app using Python's module mode.
36
CMD ["python", "-m", "etc.interference.app"]
33
CMD ["python", "-m", "g4f.api.run"]
@@ -2,7 +2,7 @@
2
2
3
3
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.
4
4
5
- latest pypi version: [`0.1.6.1`](https://pypi.org/project/g4f/0.1.6.1):
5
- latest pypi version: [`0.1.6.2`](https://pypi.org/project/g4f/0.1.6.2):
6
6
```sh
7
7
pip install -U g4f
8
8
```
@@ -5,7 +5,7 @@ from .Provider import BaseProvider
5
5
from .typing import Messages, CreateResult, Union
6
6
from .debug import logging
7
7
8
version = '0.1.6.1'
8
version = '0.1.6.2'
9
9
version_check = True
10
10
11
11
def check_pypi_version() -> None:
@@ -10,6 +10,4 @@ flask
10
10
flask-cors
11
11
typing-extensions
12
12
PyExecJS
13
duckduckgo-search
14
transformers
15
tensorflow
13
duckduckgo-search
@@ -11,7 +11,7 @@ with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
11
11
with open("requirements.txt") as f:
12
12
required = f.read().splitlines()
13
13
14
VERSION = "0.1.6.1"
14
VERSION = "0.1.6.2"
15
15
DESCRIPTION = (
16
16
"The official gpt4free repository | various collection of powerful language models"
17
17
)