Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import os
|
|
| 4 |
|
| 5 |
def dl(inp):
|
| 6 |
out = None
|
| 7 |
-
|
| 8 |
try:
|
| 9 |
inp_out=inp.replace("https://","")
|
| 10 |
inp_out=inp_out.replace("/","_").replace(".","_")
|
|
@@ -23,7 +23,7 @@ def dl(inp):
|
|
| 23 |
except Exception as e:
|
| 24 |
print (e)
|
| 25 |
out = None
|
| 26 |
-
return out,
|
| 27 |
|
| 28 |
|
| 29 |
with gr.Blocks() as app:
|
|
|
|
| 4 |
|
| 5 |
def dl(inp):
|
| 6 |
out = None
|
| 7 |
+
out_file=[]
|
| 8 |
try:
|
| 9 |
inp_out=inp.replace("https://","")
|
| 10 |
inp_out=inp_out.replace("/","_").replace(".","_")
|
|
|
|
| 23 |
except Exception as e:
|
| 24 |
print (e)
|
| 25 |
out = None
|
| 26 |
+
return out,out_file
|
| 27 |
|
| 28 |
|
| 29 |
with gr.Blocks() as app:
|