summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-10-07 12:03:16 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-10-07 12:03:16 +0200
commit518d7c82f41ce60fade73e9632a9060c94663f03 (patch)
treed576df9ef7a898cd34c0f2b43e2cc647759b06a7
parent ~ | g4f `v-0.1.5.4` [new gui & interference] (diff)
downloadgpt4free-518d7c82f41ce60fade73e9632a9060c94663f03.tar
gpt4free-518d7c82f41ce60fade73e9632a9060c94663f03.tar.gz
gpt4free-518d7c82f41ce60fade73e9632a9060c94663f03.tar.bz2
gpt4free-518d7c82f41ce60fade73e9632a9060c94663f03.tar.lz
gpt4free-518d7c82f41ce60fade73e9632a9060c94663f03.tar.xz
gpt4free-518d7c82f41ce60fade73e9632a9060c94663f03.tar.zst
gpt4free-518d7c82f41ce60fade73e9632a9060c94663f03.zip
Diffstat (limited to '')
-rw-r--r--.gitignore2
-rw-r--r--Dockerfile4
-rw-r--r--g4f/__init__.py4
3 files changed, 8 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index affc3a9a..dbba6dd5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,5 +41,7 @@ bing.py
bing2.py
.DS_Store
MANIFEST.in
+lab/*
+lab
# Emacs crap
*~ \ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
index ffd8bf1c..f219c256 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -27,10 +27,10 @@ RUN pip install --upgrade pip && pip install -r requirements.txt
COPY . /app/
# Install additional requirements specific to the interference module/package.
-RUN pip install -r interference/requirements.txt
+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", "interference.app"] \ No newline at end of file
+CMD ["python", "-m", "etc.interference.app"] \ No newline at end of file
diff --git a/g4f/__init__.py b/g4f/__init__.py
index a5cee80b..0b449005 100644
--- a/g4f/__init__.py
+++ b/g4f/__init__.py
@@ -107,3 +107,7 @@ class Completion:
[{"role": "user", "content": prompt}], stream, **kwargs)
return result if stream else ''.join(result)
+
+
+if __name__ == '__main__':
+ print('hi') \ No newline at end of file