Yntec commited on
Commit
25cc0b5
·
verified ·
1 Parent(s): 115b5e3

Update app.py

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