mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-23 09:10:13 +03:00
~ | 0.1.7.0
This commit is contained in:
parent
603b5b85a4
commit
d01c2afe47
@ -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.9`](https://pypi.org/project/g4f/0.1.6.9)
|
||||
- latest pypi version: [`0.1.7.0`](https://pypi.org/project/g4f/0.1.7.0)
|
||||
```sh
|
||||
pip install -U g4f
|
||||
```
|
||||
|
@ -5,7 +5,7 @@ from .Provider import BaseProvider, RetryProvider
|
||||
from .typing import Messages, CreateResult, Union, List
|
||||
from .debug import logging
|
||||
|
||||
version = '0.1.6.9'
|
||||
version = '0.1.7.0'
|
||||
version_check = True
|
||||
|
||||
def check_pypi_version() -> None:
|
||||
|
@ -1,6 +1,7 @@
|
||||
import argparse
|
||||
import g4f
|
||||
|
||||
from g4f.api import run_api
|
||||
from g4f.api import Api
|
||||
from g4f.gui.run import gui_parser, run_gui_args
|
||||
|
||||
|
||||
@ -16,7 +17,7 @@ def main():
|
||||
|
||||
args = parser.parse_args()
|
||||
if args.mode == "api":
|
||||
run_api()
|
||||
Api(g4f).run('localhost:1337', 8)
|
||||
elif args.mode == "gui":
|
||||
run_gui_args(args)
|
||||
else:
|
||||
|
2
setup.py
2
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.9"
|
||||
VERSION = "0.1.7.0"
|
||||
DESCRIPTION = (
|
||||
"The official gpt4free repository | various collection of powerful language models"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user