hmb HF staff commited on
Commit
5181f7b
1 Parent(s): a690f9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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()