Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,11 +17,12 @@ def dl(inp):
|
|
17 |
out_file.append(f"{inp_out}.description")
|
18 |
out_file.append(f"{inp_out}.info.json")
|
19 |
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
25 |
except Exception as e:
|
26 |
print (e)
|
27 |
out = None
|
|
|
17 |
out_file.append(f"{inp_out}.description")
|
18 |
out_file.append(f"{inp_out}.info.json")
|
19 |
|
20 |
+
try:
|
21 |
+
with open(f"{inp_out}.info.json", "rb") as f:
|
22 |
+
f_out = f.readlines()
|
23 |
+
print (f_out)
|
24 |
+
except Exception as e:
|
25 |
+
print (e)
|
26 |
except Exception as e:
|
27 |
print (e)
|
28 |
out = None
|