Spaces:
Runtime error
Runtime error
heheyas
commited on
Commit
·
b4aa4d7
1
Parent(s):
e93743e
fix
Browse files
app.py
CHANGED
|
@@ -276,6 +276,7 @@ if __name__ == "__main__":
|
|
| 276 |
return
|
| 277 |
import wget
|
| 278 |
|
|
|
|
| 279 |
path.parent.mkdir(parents=True, exist_ok=True)
|
| 280 |
wget.download(url, out=str(path))
|
| 281 |
|
|
|
|
| 276 |
return
|
| 277 |
import wget
|
| 278 |
|
| 279 |
+
path = Path(path)
|
| 280 |
path.parent.mkdir(parents=True, exist_ok=True)
|
| 281 |
wget.download(url, out=str(path))
|
| 282 |
|