Spaces:
Runtime error
Runtime error
test
Browse files
app.py
CHANGED
@@ -83,8 +83,8 @@ def process_task(task):
|
|
83 |
'sketch_image': sketch_image
|
84 |
}, to=client_id)
|
85 |
except Exception as e:
|
86 |
-
print(f"Task error: {str(e)}")
|
87 |
-
if not task.cancel_flag:
|
88 |
socketio.emit('task_error', {'task_id': task.task_id, 'error': str(e)}, to=client_id)
|
89 |
finally:
|
90 |
task.is_processing = False
|
|
|
83 |
'sketch_image': sketch_image
|
84 |
}, to=client_id)
|
85 |
except Exception as e:
|
86 |
+
# print(f"Task error: {str(e)}")
|
87 |
+
# if not task.cancel_flag:
|
88 |
socketio.emit('task_error', {'task_id': task.task_id, 'error': str(e)}, to=client_id)
|
89 |
finally:
|
90 |
task.is_processing = False
|