Spaces:
Runtime error
Runtime error
Update launch.py
Browse files
launch.py
CHANGED
|
@@ -1,8 +1,4 @@
|
|
| 1 |
-
import
|
| 2 |
|
| 3 |
-
# Run Flask
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
# Keep the process running
|
| 7 |
-
while True:
|
| 8 |
-
pass
|
|
|
|
| 1 |
+
import os
|
| 2 |
|
| 3 |
+
# Run Flask directly
|
| 4 |
+
os.system("python app.py")
|
|
|
|
|
|
|
|
|
|
|
|