Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|