Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
| 27 |
auth_token = os.environ.get("hf_token") or True
|
| 28 |
|
| 29 |
|
| 30 |
-
tts_path = hf_hub_download(repo_id="fahadqazi/private-code", filename="sindhi_tts_module.py",
|
| 31 |
|
| 32 |
spec = importlib.util.spec_from_file_location("sindhi_tts_module", tts_path)
|
| 33 |
tts_module = importlib.util.module_from_spec(spec)
|
|
|
|
| 27 |
auth_token = os.environ.get("hf_token") or True
|
| 28 |
|
| 29 |
|
| 30 |
+
tts_path = hf_hub_download(repo_id="fahadqazi/private-code", filename="sindhi_tts_module.py", token=auth_token)
|
| 31 |
|
| 32 |
spec = importlib.util.spec_from_file_location("sindhi_tts_module", tts_path)
|
| 33 |
tts_module = importlib.util.module_from_spec(spec)
|