Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -27,8 +27,8 @@ def generate_audio(prompt, sampler_type_dropdown, seconds_total=30, steps=100, c
|
|
27 |
print(f"Using device: {device}")
|
28 |
|
29 |
# Fetch the Hugging Face token from the environment variable
|
30 |
-
hf_token = os.getenv('HF_TOKEN')
|
31 |
-
print(f"Hugging Face token: {hf_token}")
|
32 |
|
33 |
# Use pre-loaded model and configuration
|
34 |
model, model_config = load_model()
|
|
|
27 |
print(f"Using device: {device}")
|
28 |
|
29 |
# Fetch the Hugging Face token from the environment variable
|
30 |
+
# hf_token = os.getenv('HF_TOKEN')
|
31 |
+
# print(f"Hugging Face token: {hf_token}")
|
32 |
|
33 |
# Use pre-loaded model and configuration
|
34 |
model, model_config = load_model()
|