From 518d7c82f41ce60fade73e9632a9060c94663f03 Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Sat, 7 Oct 2023 11:03:16 +0100 Subject: ~ --- .gitignore | 2 ++ Dockerfile | 4 ++-- g4f/__init__.py | 4 ++++ 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 -- cgit v1.2.3