Merge pull request #190 from editor-syntax/main

feat: Singularity Docker added
このコミットが含まれているのは:
t.me/xtekky 2023-04-27 12:27:00 +01:00 committed by GitHub
コミット 1829e536d5
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更15行の追加0行の削除

15
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