Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
c999fa4
1
Parent(s):
490092e
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,8 +5,8 @@ import gradio as gr
|
|
| 5 |
|
| 6 |
|
| 7 |
os.system('gdown https://drive.google.com/uc?id=1Flw6Z0K2QdRrTn5F-gVt6HdR9TRPiaKy')
|
| 8 |
-
with zipfile.ZipFile('
|
| 9 |
-
zip_ref.extractall('
|
| 10 |
|
| 11 |
shutil.move('VQMIVC-pretrained models/checkpoints/', '.')
|
| 12 |
shutil.move('VQMIVC-pretrained models/vocoder/', '.')
|
|
|
|
| 5 |
|
| 6 |
|
| 7 |
os.system('gdown https://drive.google.com/uc?id=1Flw6Z0K2QdRrTn5F-gVt6HdR9TRPiaKy')
|
| 8 |
+
with zipfile.ZipFile('VQMIVC-pretrained models.zip', 'r') as zip_ref:
|
| 9 |
+
zip_ref.extractall('.')
|
| 10 |
|
| 11 |
shutil.move('VQMIVC-pretrained models/checkpoints/', '.')
|
| 12 |
shutil.move('VQMIVC-pretrained models/vocoder/', '.')
|