Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -842,10 +842,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 842 |
"\nERROR: {}. This usually means the space has no free GPU "
|
| 843 |
"minutes left, or the process took too long due to too many filaments or changed parameters. Please clone the docker container, run it locally or wait for a bit.\n".format(e)
|
| 844 |
)
|
| 845 |
-
|
| 846 |
-
|
| 847 |
-
|
| 848 |
-
|
| 849 |
# a non-zero code tells the outer loop something went wrong
|
| 850 |
self.returncode = -1
|
| 851 |
|
|
|
|
| 842 |
"\nERROR: {}. This usually means the space has no free GPU "
|
| 843 |
"minutes left, or the process took too long due to too many filaments or changed parameters. Please clone the docker container, run it locally or wait for a bit.\n".format(e)
|
| 844 |
)
|
| 845 |
+
gr.Error(
|
| 846 |
+
"ERROR: {}. This usually means the space has no free GPU "
|
| 847 |
+
"minutes left, or the process took too long due to too many filaments or changed parameters. Please clone the docker container, run it locally or wait for a bit.\n".format(e)
|
| 848 |
+
)
|
| 849 |
# a non-zero code tells the outer loop something went wrong
|
| 850 |
self.returncode = -1
|
| 851 |
|