Yntec commited on
Commit
1ea9122
1 Parent(s): acd6f17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -81,6 +81,9 @@ def gen_fnseed(model_str, prompt, seed=1):
81
  print(e)
82
  print(f"Task aborted: {model_str}")
83
  result = None
 
 
 
84
  finally:
85
  loop.close()
86
  return result
 
81
  print(e)
82
  print(f"Task aborted: {model_str}")
83
  result = None
84
+ with lock:
85
+ image = "https://huggingface.co/spaces/Yntec/HuggingfaceDiffusion/resolve/main/protest.png"
86
+ result = image
87
  finally:
88
  loop.close()
89
  return result