Remove upload event handler

This commit is contained in:
henryruhs
2025-01-28 10:34:46 +01:00
parent 1c06023160
commit cd6d2012f6
4 changed files with 4 additions and 4 deletions

View File

@@ -112,7 +112,7 @@ def listen() -> None:
'target_image',
'target_video'
]):
for method in [ 'upload', 'change', 'clear' ]:
for method in [ 'change', 'clear' ]:
getattr(ui_component, method)(update_reference_face_position)
getattr(ui_component, method)(update_reference_position_gallery, outputs = REFERENCE_FACE_POSITION_GALLERY)

View File

@@ -134,7 +134,7 @@ def listen() -> None:
'target_image',
'target_video'
]):
for method in [ 'upload', 'change', 'clear' ]:
for method in [ 'change', 'clear' ]:
getattr(ui_component, method)(remote_update, outputs = [ OUTPUT_IMAGE_QUALITY_SLIDER, OUTPUT_IMAGE_RESOLUTION_DROPDOWN, OUTPUT_AUDIO_ENCODER_DROPDOWN, OUTPUT_AUDIO_QUALITY_SLIDER, OUTPUT_AUDIO_VOLUME_SLIDER, OUTPUT_VIDEO_ENCODER_DROPDOWN, OUTPUT_VIDEO_PRESET_DROPDOWN, OUTPUT_VIDEO_QUALITY_SLIDER, OUTPUT_VIDEO_RESOLUTION_DROPDOWN, OUTPUT_VIDEO_FPS_SLIDER ])

View File

@@ -27,7 +27,7 @@ def listen() -> None:
target_video = get_ui_component('target_video')
if target_video:
for method in [ 'upload', 'change', 'clear' ]:
for method in [ 'change', 'clear' ]:
getattr(target_video, method)(remote_update, outputs = TEMP_FRAME_FORMAT_DROPDOWN)

View File

@@ -39,7 +39,7 @@ def listen() -> None:
'target_image',
'target_video'
]):
for method in [ 'upload', 'change', 'clear' ]:
for method in [ 'change', 'clear' ]:
getattr(ui_component, method)(remote_update, outputs = [ TRIM_FRAME_RANGE_SLIDER ])