Update app.py
Browse files
app.py
CHANGED
@@ -10,9 +10,7 @@ def download_file(download_url, save_path):
|
|
10 |
except Exception as e:
|
11 |
return f"Error downloading file: {str(e)}"
|
12 |
|
13 |
-
iface = gr.Interface(fn=download_file, inputs=["text", "text"], outputs="text"
|
14 |
-
inputs_label=["Download URL", "Save Path"],
|
15 |
-
outputs_label="Download Status")
|
16 |
iface.launch(share=True)
|
17 |
|
18 |
# subprocess.run(["wget", "-O", "G_38400.pth", "https://github.com/00000000002/render/releases/download/ddd/G_38400.pth"])
|
|
|
10 |
except Exception as e:
|
11 |
return f"Error downloading file: {str(e)}"
|
12 |
|
13 |
+
iface = gr.Interface(fn=download_file, inputs=["text", "text"], outputs="text")
|
|
|
|
|
14 |
iface.launch(share=True)
|
15 |
|
16 |
# subprocess.run(["wget", "-O", "G_38400.pth", "https://github.com/00000000002/render/releases/download/ddd/G_38400.pth"])
|