johnslegers commited on
Commit
61b1dcd
1 Parent(s): 3a32be1
Files changed (1) hide show
  1. modules/app.py +4 -4
modules/app.py CHANGED
@@ -196,11 +196,11 @@ def image(req : ImageRequest):
196
  @app.get('/image/stop')
197
  def stop():
198
  try:
199
- if model_is_loading:
200
- return {'ERROR'}
201
 
202
- from . import runtime
203
- runtime.stop_processing = True
204
 
205
  return {'OK'}
206
  except Exception as e:
 
196
  @app.get('/image/stop')
197
  def stop():
198
  try:
199
+ # if model_is_loading:
200
+ # return {'ERROR'}
201
 
202
+ # from . import runtime
203
+ # runtime.stop_processing = True
204
 
205
  return {'OK'}
206
  except Exception as e: