返回提交历史
Modified
README.md
+1
-1
Modified
g4f/__init__.py
+1
-1
Modified
g4f/cli.py
+3
-2
Modified
setup.py
+1
-1
XFEstudio/gpt4free
~ | 0.1.7.0
d01c2afe
代码差异
4 个文件
+6
-5
@@ -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.9`](https://pypi.org/project/g4f/0.1.6.9)
5
- latest pypi version: [`0.1.7.0`](https://pypi.org/project/g4f/0.1.7.0)
6
6
```sh
7
7
pip install -U g4f
8
8
```
@@ -5,7 +5,7 @@ from .Provider import BaseProvider, RetryProvider
5
5
from .typing import Messages, CreateResult, Union, List
6
6
from .debug import logging
7
7
8
version = '0.1.6.9'
8
version = '0.1.7.0'
9
9
version_check = True
10
10
11
11
def check_pypi_version() -> None:
@@ -1,6 +1,7 @@
1
1
import argparse
2
import g4f
2
3
3
from g4f.api import run_api
4
from g4f.api import Api
4
5
from g4f.gui.run import gui_parser, run_gui_args
5
6
6
7
@@ -16,7 +17,7 @@ def main():
16
17
17
18
args = parser.parse_args()
18
19
if args.mode == "api":
19
run_api()
20
Api(g4f).run('localhost:1337', 8)
20
21
elif args.mode == "gui":
21
22
run_gui_args(args)
22
23
else:
@@ -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.9"
14
VERSION = "0.1.7.0"
15
15
DESCRIPTION = (
16
16
"The official gpt4free repository | various collection of powerful language models"
17
17
)