yergyerg commited on
Commit
cb9be7a
·
verified ·
1 Parent(s): e10afd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ async def infer(model_str, prompt, nprompt="", height=0, width=0, steps=0, cfg=0
78
  await asyncio.sleep(0)
79
  try:
80
  result = await asyncio.wait_for(task, timeout=timeout)
81
- print(f"Task ended, result: {result}")
82
  except asyncio.TimeoutError as e:
83
  print(e)
84
  print(f"infer: Task timed out: {model_str}")
 
78
  await asyncio.sleep(0)
79
  try:
80
  result = await asyncio.wait_for(task, timeout=timeout)
81
+ print(f"Task '{model_str}' ended, result: {result}")
82
  except asyncio.TimeoutError as e:
83
  print(e)
84
  print(f"infer: Task timed out: {model_str}")