Yntec commited on
Commit
ea1585c
·
verified ·
1 Parent(s): f631621

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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