Merge pull request #190 from editor-syntax/main
Browse files- Singularity/gpt4free.sif +15 -0
Singularity/gpt4free.sif
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Bootstrap: docker
|
2 |
+
From: python:3.10-slim
|
3 |
+
|
4 |
+
%post
|
5 |
+
apt-get update && apt-get install -y git
|
6 |
+
git clone https://github.com/xtekky/gpt4free.git
|
7 |
+
cd gpt4free
|
8 |
+
pip install --no-cache-dir -r requirements.txt
|
9 |
+
cp gui/streamlit_app.py .
|
10 |
+
|
11 |
+
%expose
|
12 |
+
8501
|
13 |
+
|
14 |
+
%startscript
|
15 |
+
exec streamlit run streamlit_app.py
|