wasmdashai commited on
Commit
6804d36
·
verified ·
1 Parent(s): 595e8cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def download_file(file_path):
4
+ return file_path
5
+
6
+ interface = gr.Interface(
7
+ fn=download_file,
8
+ inputs=gr.File(label="Select file to download"),
9
+ outputs=gr.File(label="Download file"),
10
+ title="Download File",
11
+ description="Select a file from your computer to download."
12
+ )
13
+
14
+ interface.launch(share=True)