fffiloni commited on
Commit
e048b09
1 Parent(s): 340ef7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -413,6 +413,7 @@ def infer_compo(style_description, ref_style_file, caption, ref_sub_file):
413
  finally:
414
  # Reset the state after inference, regardless of success or failure
415
  reset_compo_inference_state()
 
416
 
417
  def run(style_reference_image, style_description, subject_prompt, subject_reference, use_subject_ref):
418
  result = None
 
413
  finally:
414
  # Reset the state after inference, regardless of success or failure
415
  reset_compo_inference_state()
416
+ reset_inference_state()
417
 
418
  def run(style_reference_image, style_description, subject_prompt, subject_reference, use_subject_ref):
419
  result = None