Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -840,11 +840,11 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
840 |
with open(self.log_path, "a", encoding="utf-8") as lf:
|
841 |
lf.write(
|
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
|
|
|
840 |
with open(self.log_path, "a", encoding="utf-8") as lf:
|
841 |
lf.write(
|
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(str(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(str(e))
|
848 |
)
|
849 |
# a non-zero code tells the outer loop something went wrong
|
850 |
self.returncode = -1
|