From bccf6be1b69fc6a62bc2e6b09e4dfaf71a090c7e Mon Sep 17 00:00:00 2001 From: kanoka519 Date: Thu, 29 Oct 2026 11:19:24 +0800 Subject: [PATCH] Update main.py --- scripts/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/main.py b/scripts/main.py index 47f5f0e..d72b324 100644 --- a/scripts/main.py +++ b/scripts/main.py @@ -12,7 +12,7 @@ def on_ui_tabs(): with gr.TabItem(label="Single") as input_tab_single: single_image = gr.Image(type="pil") with gr.TabItem(label="Batch") as input_tab_batch: - batch_image = gr.File(label="Batch Images", file_count="multiple", interactive=True, type="file") + batch_image = gr.File(label="Batch Images", file_count="multiple", interactive=True, type="filepath") with gr.TabItem(label="Batch from Dir") as input_tab_dir: input_dir = gr.Textbox(label="Input directory", **shared.hide_dirs) output_dir = gr.Textbox(label="Output directory", **shared.hide_dirs)