ajsdasdjks
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ model_name = "model_hubert_finetuned_nopeft.pth"
|
|
13 |
if not os.path.exists(model_name):
|
14 |
print(f"Downloading {model_name} from Google Drive...")
|
15 |
gdown.download(f'https://drive.google.com/uc?id={file_id}', model_name, quiet=False)
|
16 |
-
else:
|
17 |
-
|
18 |
|
19 |
# Replace with your model path or Hugging Face model hub path
|
20 |
config = HubertConfig.from_pretrained("superb/hubert-large-superb-er")
|
|
|
13 |
if not os.path.exists(model_name):
|
14 |
print(f"Downloading {model_name} from Google Drive...")
|
15 |
gdown.download(f'https://drive.google.com/uc?id={file_id}', model_name, quiet=False)
|
16 |
+
# else:
|
17 |
+
# print(f"{output} already exists, skipping download.")
|
18 |
|
19 |
# Replace with your model path or Hugging Face model hub path
|
20 |
config = HubertConfig.from_pretrained("superb/hubert-large-superb-er")
|