Skip to content

Commit 242f75f

Browse files
author
NeoDev
authored
Update download.py
1 parent a95b409 commit 242f75f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tabs/download/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def download_tab():
101101
outputs=[model_download_output_info],
102102
)
103103
gr.Markdown("## Drop files")
104-
dropbox = gr.File(label="Drag your .pth file and .index file into this space. Drag one and then the other.", type="filepath")
104+
dropbox = gr.File(label="Drag your .pth file and .index file into this space. Drag one and then the other.", type="file")
105105

106106
dropbox.upload(
107107
fn=save_drop_model,

0 commit comments

Comments
 (0)