Update app.py
Browse files
app.py
CHANGED
@@ -77,6 +77,9 @@ def gen_fnseed(model_str, prompt, seed=1):
|
|
77 |
print(e)
|
78 |
print(f"Task aborted: {model_str}")
|
79 |
result = None
|
|
|
|
|
|
|
80 |
finally:
|
81 |
loop.close()
|
82 |
return result
|
|
|
77 |
print(e)
|
78 |
print(f"Task aborted: {model_str}")
|
79 |
result = None
|
80 |
+
with lock:
|
81 |
+
image = "https://huggingface.co/spaces/Yntec/HuggingfaceDiffusion/resolve/main/protest.png"
|
82 |
+
result = image
|
83 |
finally:
|
84 |
loop.close()
|
85 |
return result
|