Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -90,6 +90,9 @@ def gen_fnseed(model_str, prompt, seed=1):
|
|
90 |
print(e)
|
91 |
print(f"Task aborted: {model_str}")
|
92 |
result = None
|
|
|
|
|
|
|
93 |
finally:
|
94 |
loop.close()
|
95 |
return result
|
|
|
90 |
print(e)
|
91 |
print(f"Task aborted: {model_str}")
|
92 |
result = None
|
93 |
+
with lock:
|
94 |
+
image = "https://huggingface.co/spaces/Yntec/HuggingfaceDiffusion/resolve/main/protest.png"
|
95 |
+
result = image
|
96 |
finally:
|
97 |
loop.close()
|
98 |
return result
|