Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,12 @@ from Gradio_UI import GradioUI
|
|
| 10 |
|
| 11 |
import os
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
# Clone Compl-AI only if it doesn't exist
|
| 14 |
if not os.path.exists("compl-ai"):
|
| 15 |
os.system("git clone https://github.com/Dave6730/compl-ai.git")
|
|
|
|
| 10 |
|
| 11 |
import os
|
| 12 |
|
| 13 |
+
# Manually clone Compl-AI
|
| 14 |
+
RUN git clone --depth 1 https://github.com/dave6730/compl-ai.git /home/user/compl-ai
|
| 15 |
+
|
| 16 |
+
# Install Compl-AI from local path
|
| 17 |
+
RUN pip install -e /home/user/compl-ai
|
| 18 |
+
|
| 19 |
# Clone Compl-AI only if it doesn't exist
|
| 20 |
if not os.path.exists("compl-ai"):
|
| 21 |
os.system("git clone https://github.com/Dave6730/compl-ai.git")
|