Spaces:
Runtime error
Runtime error
DevashishBhake
commited on
Commit
•
ec3dfec
1
Parent(s):
433a19f
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def main(file , micro=None):
|
|
63 |
audio = micro
|
64 |
else:
|
65 |
print("THERE IS A PROBLEM")
|
66 |
-
|
67 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
68 |
SPT_MODEL = "./SPT_model"
|
69 |
model_name_or_path = "./SER_model"
|
|
|
63 |
audio = micro
|
64 |
else:
|
65 |
print("THERE IS A PROBLEM")
|
66 |
+
audio = file
|
67 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
68 |
SPT_MODEL = "./SPT_model"
|
69 |
model_name_or_path = "./SER_model"
|