SefyanKehail
commited on
Commit
·
f98a4cd
1
Parent(s):
bbec056
debuging..
Browse files
app.py
CHANGED
|
@@ -46,9 +46,9 @@ for filename, url in model_urls.items():
|
|
| 46 |
print(f"{filename} downloaded successfully.")
|
| 47 |
|
| 48 |
|
| 49 |
-
get_file_size_in_mb("hubert.pt")
|
| 50 |
-
get_file_size_in_mb("acoustic.pt")
|
| 51 |
-
get_file_size_in_mb("hifigan.pt")
|
| 52 |
|
| 53 |
# Load the models using torch.hub
|
| 54 |
hubert = torch.hub.load("bshall/hubert:main", "hubert_soft", trust_repo=True, pretrained=False)
|
|
|
|
| 46 |
print(f"{filename} downloaded successfully.")
|
| 47 |
|
| 48 |
|
| 49 |
+
print(get_file_size_in_mb("hubert.pt"))
|
| 50 |
+
print(get_file_size_in_mb("acoustic.pt"))
|
| 51 |
+
print(get_file_size_in_mb("hifigan.pt"))
|
| 52 |
|
| 53 |
# Load the models using torch.hub
|
| 54 |
hubert = torch.hub.load("bshall/hubert:main", "hubert_soft", trust_repo=True, pretrained=False)
|