yeq6x commited on
Commit
e7c4eb4
·
1 Parent(s): 6446714
Files changed (1) hide show
  1. app.py +2 -2
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