Yntec commited on
Commit
d167e73
1 Parent(s): e0e5d5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def gen_fn(model_index, prompt, nprompt="", height=0, width=0, steps=0, cfg=0, s
67
  height, width, steps, cfg, seed, inference_timeout))
68
  except (Exception, asyncio.CancelledError) as e:
69
  print(e)
70
- print(f"Task aborted: {models[model_index]}")with lock:
71
  with lock:
72
  image = "https://huggingface.co/spaces/Yntec/ToyWorld/resolve/main/error.png"
73
  result = image
 
67
  height, width, steps, cfg, seed, inference_timeout))
68
  except (Exception, asyncio.CancelledError) as e:
69
  print(e)
70
+ print(f"Task aborted: {models[model_index]}")
71
  with lock:
72
  image = "https://huggingface.co/spaces/Yntec/ToyWorld/resolve/main/error.png"
73
  result = image