Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,8 @@ expected_md5 = url.split("/")[-2]
|
|
20 |
download_target = os.path.join(root, filename)
|
21 |
result_path = os.path.join(root, pathname)
|
22 |
|
23 |
-
|
24 |
-
result_path = download(url, root)
|
25 |
|
26 |
|
27 |
|
|
|
20 |
download_target = os.path.join(root, filename)
|
21 |
result_path = os.path.join(root, pathname)
|
22 |
|
23 |
+
if not os.path.exists(result_path):
|
24 |
+
result_path = download(url, root)
|
25 |
|
26 |
|
27 |
|