Industry leading face manipulation platform
Remove upload event handler
henryruhs2e16b1020090
diff --git a/facefusion/uis/components/preview.py b/facefusion/uis/components/preview.pyindex 25d4ef68..95b34b1d 100755--- a/facefusion/uis/components/preview.py+++ b/facefusion/uis/components/preview.py@@ -88,7 +88,7 @@ def listen() -> None:'target_image','target_video']):- for method in [ 'upload', 'change', 'clear' ]:+ for method in [ 'upload', 'clear' ]:getattr(ui_component, method)(update_preview_image, inputs = PREVIEW_FRAME_SLIDER, outputs = PREVIEW_IMAGE)for ui_component in get_ui_components(@@ -96,7 +96,7 @@ def listen() -> None:'target_image','target_video']):- for method in [ 'upload', 'change', 'clear' ]:+ for method in [ 'upload', 'clear' ]:getattr(ui_component, method)(update_preview_frame_slider, outputs = PREVIEW_FRAME_SLIDER)for ui_component in get_ui_components(