summaryrefslogtreecommitdiffstats
path: root/Singularity/gpt4free.sif
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-27 14:29:33 +0200
committerGitHub <noreply@github.com>2023-04-27 14:29:33 +0200
commitd8ec09cebbe04268200cb2f53289525cb95d00bb (patch)
tree997609545bc922d63081a49ee356b747b4ecce68 /Singularity/gpt4free.sif
parentMerge branch 'main' of https://github.com/Andrew-Tsegaye/gpt4free (diff)
parentMerge pull request #197 from AymaneHrouch/update_syspath (diff)
downloadgpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar.gz
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar.bz2
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar.lz
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar.xz
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.tar.zst
gpt4free-d8ec09cebbe04268200cb2f53289525cb95d00bb.zip
Diffstat (limited to 'Singularity/gpt4free.sif')
-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