Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def gen_fn(model_index, prompt, nprompt="", height=0, width=0, steps=0, cfg=0, s
|
|
67 |
height, width, steps, cfg, seed, inference_timeout))
|
68 |
except (Exception, asyncio.CancelledError) as e:
|
69 |
print(e)
|
70 |
-
print(f"Task aborted: {models[model_index]}")
|
71 |
with lock:
|
72 |
image = "https://huggingface.co/spaces/Yntec/ToyWorld/resolve/main/error.png"
|
73 |
result = image
|
|
|
67 |
height, width, steps, cfg, seed, inference_timeout))
|
68 |
except (Exception, asyncio.CancelledError) as e:
|
69 |
print(e)
|
70 |
+
print(f"Task aborted: {models[model_index]}")
|
71 |
with lock:
|
72 |
image = "https://huggingface.co/spaces/Yntec/ToyWorld/resolve/main/error.png"
|
73 |
result = image
|