Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,8 +19,6 @@ def test():
|
|
| 19 |
def process():
|
| 20 |
import subprocess
|
| 21 |
|
| 22 |
-
print("Loading..")
|
| 23 |
-
|
| 24 |
def uninstall_and_install_gradio(version):
|
| 25 |
# Uninstall current Gradio
|
| 26 |
uninstall_command = ["pip", "uninstall", "gradio", "-y"]
|
|
@@ -70,7 +68,11 @@ launch = "process"
|
|
| 70 |
|
| 71 |
if launch == "process":
|
| 72 |
process()
|
|
|
|
|
|
|
| 73 |
elif launch == "test":
|
| 74 |
test()
|
|
|
|
|
|
|
| 75 |
else:
|
| 76 |
print("ERROR!")
|
|
|
|
| 19 |
def process():
|
| 20 |
import subprocess
|
| 21 |
|
|
|
|
|
|
|
| 22 |
def uninstall_and_install_gradio(version):
|
| 23 |
# Uninstall current Gradio
|
| 24 |
uninstall_command = ["pip", "uninstall", "gradio", "-y"]
|
|
|
|
| 68 |
|
| 69 |
if launch == "process":
|
| 70 |
process()
|
| 71 |
+
print("Loading..")
|
| 72 |
+
|
| 73 |
elif launch == "test":
|
| 74 |
test()
|
| 75 |
+
print("Loading..")
|
| 76 |
+
|
| 77 |
else:
|
| 78 |
print("ERROR!")
|