Opera8 commited on
Commit
91f393b
·
verified ·
1 Parent(s): 25ae078

Update acestep/gradio_ui/events/results_handlers.py

Browse files
acestep/gradio_ui/events/results_handlers.py CHANGED
@@ -428,7 +428,6 @@ def generate_with_progress(
428
  use_cot_caption=use_cot_caption,
429
  use_cot_language=use_cot_language,
430
  use_constrained_decoding=True,
431
- task_id=task_id,
432
  )
433
 
434
  if isinstance(active_seed_param, str) and active_seed_param.strip():
@@ -466,6 +465,7 @@ def generate_with_progress(
466
  config=gen_config,
467
  save_dir=None,
468
  progress=progress,
 
469
  )
470
  except Exception as e:
471
  if e.__class__.__name__ == "TimeoutSavedException":
 
428
  use_cot_caption=use_cot_caption,
429
  use_cot_language=use_cot_language,
430
  use_constrained_decoding=True,
 
431
  )
432
 
433
  if isinstance(active_seed_param, str) and active_seed_param.strip():
 
465
  config=gen_config,
466
  save_dir=None,
467
  progress=progress,
468
+ task_id=task_id,
469
  )
470
  except Exception as e:
471
  if e.__class__.__name__ == "TimeoutSavedException":