Remove default value

This commit is contained in:
henryruhs
2025-01-31 22:57:43 +01:00
parent 6732a82af4
commit 6cc21d7a91

View File

@@ -22,7 +22,6 @@ def render() -> None:
is_target_video = is_video(state_manager.get_item('target_path'))
TARGET_FILE = gradio.File(
label = wording.get('uis.target_file'),
file_count = 'single',
value = state_manager.get_item('target_path') if is_target_image or is_target_video else None
)
target_image_options : ComponentOptions =\