Spaces:
Sleeping
Sleeping
Added call to startup.sh to app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,10 @@ from enum import Enum
|
|
23 |
import os
|
24 |
os.environ["GRADIO_TEMP_DIR"] = os.path.join(os.getcwd(), "tmp")
|
25 |
|
|
|
|
|
|
|
|
|
26 |
class AppSteps(Enum):
|
27 |
JUST_TEXT = 1
|
28 |
TEXT_AND_EXEMPLARS = 2
|
|
|
23 |
import os
|
24 |
os.environ["GRADIO_TEMP_DIR"] = os.path.join(os.getcwd(), "tmp")
|
25 |
|
26 |
+
# Installing dependencies not in requirements.txt
|
27 |
+
import subprocess
|
28 |
+
rc = subprocess.call("startup.sh")
|
29 |
+
|
30 |
class AppSteps(Enum):
|
31 |
JUST_TEXT = 1
|
32 |
TEXT_AND_EXEMPLARS = 2
|