From 3e48284e40275592a76d9feb2cb44c8d12f5465d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=93=20sanz?= Date: Thu, 27 Apr 2023 17:49:42 +0800 Subject: Create gpt4free.def --- Singularity/gpt4free.def | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Singularity/gpt4free.def diff --git a/Singularity/gpt4free.def b/Singularity/gpt4free.def new file mode 100644 index 00000000..67bc1241 --- /dev/null +++ b/Singularity/gpt4free.def @@ -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 -- cgit v1.2.3 From 9f1a159c57af2643c3b7f478d2e36867c338f3ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=93=20sanz?= Date: Thu, 27 Apr 2023 17:51:42 +0800 Subject: Update and rename gpt4free.def to gpt4free.sif --- Singularity/gpt4free.def | 15 --------------- Singularity/gpt4free.sif | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 Singularity/gpt4free.def create mode 100644 Singularity/gpt4free.sif diff --git a/Singularity/gpt4free.def b/Singularity/gpt4free.def deleted file mode 100644 index 67bc1241..00000000 --- a/Singularity/gpt4free.def +++ /dev/null @@ -1,15 +0,0 @@ -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 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 -- cgit v1.2.3