summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-27 13:27:00 +0200
committerGitHub <noreply@github.com>2023-04-27 13:27:00 +0200
commit1829e536d5a577be775e9d7c01f7da0a94badc8f (patch)
tree26a6d459684c4f7160b19e68c6ebd6cf26e5f7bb
parentMerge pull request #193 from xtekky/upate-readme (diff)
parentUpdate and rename gpt4free.def to gpt4free.sif (diff)
downloadgpt4free-1829e536d5a577be775e9d7c01f7da0a94badc8f.tar
gpt4free-1829e536d5a577be775e9d7c01f7da0a94badc8f.tar.gz
gpt4free-1829e536d5a577be775e9d7c01f7da0a94badc8f.tar.bz2
gpt4free-1829e536d5a577be775e9d7c01f7da0a94badc8f.tar.lz
gpt4free-1829e536d5a577be775e9d7c01f7da0a94badc8f.tar.xz
gpt4free-1829e536d5a577be775e9d7c01f7da0a94badc8f.tar.zst
gpt4free-1829e536d5a577be775e9d7c01f7da0a94badc8f.zip
Diffstat (limited to '')
-rw-r--r--Singularity/gpt4free.sif15
1 files changed, 15 insertions, 0 deletions
diff --git a/Singularity/gpt4free.sif b/Singularity/gpt4free.sif
new file mode 100644
index 00000000..67bc1241
--- /dev/null
+++ b/Singularity/gpt4free.sif
@@ -0,0 +1,15 @@
+Bootstrap: docker
+From: python:3.10-slim
+
+%post
+ apt-get update && apt-get install -y git
+ git clone https://github.com/xtekky/gpt4free.git
+ cd gpt4free
+ pip install --no-cache-dir -r requirements.txt
+ cp gui/streamlit_app.py .
+
+%expose
+ 8501
+
+%startscript
+ exec streamlit run streamlit_app.py