Spaces:
Runtime error
Runtime error
Stable-Human
commited on
Commit
•
20c30b3
1
Parent(s):
c21e49b
Update launch.py
Browse files
launch.py
CHANGED
@@ -16,10 +16,10 @@ args = parser.parse_args()
|
|
16 |
# Setup in HuggingFace Spaces:
|
17 |
|
18 |
# Make setup-colab.sh executable
|
19 |
-
os.chmod("./setup
|
20 |
|
21 |
# Run setup-colab.sh
|
22 |
-
os.system("./setup
|
23 |
|
24 |
# Create interface
|
25 |
inputs_for_image = [
|
|
|
16 |
# Setup in HuggingFace Spaces:
|
17 |
|
18 |
# Make setup-colab.sh executable
|
19 |
+
os.chmod("./setup.sh", 0o755) # Use octal mode for clarity
|
20 |
|
21 |
# Run setup-colab.sh
|
22 |
+
os.system("./setup.sh")
|
23 |
|
24 |
# Create interface
|
25 |
inputs_for_image = [
|