Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -833,6 +833,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
833 |
"\nERROR: {}. This usually means the space has no free GPU "
|
834 |
"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)
|
835 |
)
|
|
|
|
|
|
|
|
|
836 |
# a non-zero code tells the outer loop something went wrong
|
837 |
self.returncode = -1
|
838 |
|
|
|
833 |
"\nERROR: {}. This usually means the space has no free GPU "
|
834 |
"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)
|
835 |
)
|
836 |
+
gr.Error(
|
837 |
+
"\nERROR: {}. This usually means the space has no free GPU "
|
838 |
+
"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)
|
839 |
+
)
|
840 |
# a non-zero code tells the outer loop something went wrong
|
841 |
self.returncode = -1
|
842 |
|