Spaces:
Running
Running
Update app.py
Browse files
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}")
|