Remove default value
This commit is contained in:
@@ -22,7 +22,6 @@ def render() -> None:
|
|||||||
is_target_video = is_video(state_manager.get_item('target_path'))
|
is_target_video = is_video(state_manager.get_item('target_path'))
|
||||||
TARGET_FILE = gradio.File(
|
TARGET_FILE = gradio.File(
|
||||||
label = wording.get('uis.target_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
|
value = state_manager.get_item('target_path') if is_target_image or is_target_video else None
|
||||||
)
|
)
|
||||||
target_image_options : ComponentOptions =\
|
target_image_options : ComponentOptions =\
|
||||||
|
|||||||
Reference in New Issue
Block a user