Spaces:
Runtime error
Runtime error
Kvikontent
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from huggingface_hub import cached_download, hf_hub_url
|
|
8 |
from transformers import AutoModelForAudioClassification
|
9 |
import os
|
10 |
|
11 |
-
token = os.get
|
12 |
model_name = "stabilityai/stable-audio-open-1.0"
|
13 |
model_config_url = hf_hub_url(repo_id=model_name, revision="main", filename="model_config.json")
|
14 |
model_config = cached_download(model_config_url, use_auth_token=token)
|
|
|
8 |
from transformers import AutoModelForAudioClassification
|
9 |
import os
|
10 |
|
11 |
+
token = os.environ.get("TOKEN")
|
12 |
model_name = "stabilityai/stable-audio-open-1.0"
|
13 |
model_config_url = hf_hub_url(repo_id=model_name, revision="main", filename="model_config.json")
|
14 |
model_config = cached_download(model_config_url, use_auth_token=token)
|