mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-05 08:16:58 +08:00
~
This commit is contained in:
@@ -26,11 +26,8 @@ RUN pip install --upgrade pip && pip install -r requirements.txt
|
||||
# This may include all code, assets, and configuration files required to run the application.
|
||||
COPY . /app/
|
||||
|
||||
# Install additional requirements specific to the interference module/package.
|
||||
RUN pip install -r etc/interference/requirements.txt
|
||||
|
||||
# Expose port 1337
|
||||
EXPOSE 1337
|
||||
|
||||
# Define the default command to run the app using Python's module mode.
|
||||
CMD ["python", "-m", "etc.interference.app"]
|
||||
CMD ["python", "-m", "g4f.api.run"]
|
@@ -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.1`](https://pypi.org/project/g4f/0.1.6.1):
|
||||
- latest pypi version: [`0.1.6.2`](https://pypi.org/project/g4f/0.1.6.2):
|
||||
```sh
|
||||
pip install -U g4f
|
||||
```
|
||||
|
@@ -5,7 +5,7 @@ from .Provider import BaseProvider
|
||||
from .typing import Messages, CreateResult, Union
|
||||
from .debug import logging
|
||||
|
||||
version = '0.1.6.1'
|
||||
version = '0.1.6.2'
|
||||
version_check = True
|
||||
|
||||
def check_pypi_version() -> None:
|
||||
|
@@ -11,5 +11,3 @@ flask-cors
|
||||
typing-extensions
|
||||
PyExecJS
|
||||
duckduckgo-search
|
||||
transformers
|
||||
tensorflow
|
||||
|
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.1"
|
||||
VERSION = "0.1.6.2"
|
||||
DESCRIPTION = (
|
||||
"The official gpt4free repository | various collection of powerful language models"
|
||||
)
|
||||
|
Reference in New Issue
Block a user