summaryrefslogtreecommitdiffstats
path: root/Singularity
diff options
context:
space:
mode:
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