Spaces:
Sleeping
Sleeping
kevinwang676
commited on
Commit
•
261ea54
1
Parent(s):
9c14d76
Update app.py
Browse files
app.py
CHANGED
@@ -5,10 +5,6 @@ import torch
|
|
5 |
|
6 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
7 |
|
8 |
-
import zipfile
|
9 |
-
with zipfile.ZipFile("speech_XXL_cond.zip", 'r') as zip_ref:
|
10 |
-
zip_ref.extractall("Phoneme_Hallucinator_v2/exp")
|
11 |
-
|
12 |
headers = {
|
13 |
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
|
14 |
}
|
|
|
5 |
|
6 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
7 |
|
|
|
|
|
|
|
|
|
8 |
headers = {
|
9 |
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
|
10 |
}
|