Arrcttacsrks commited on
Commit
dad1d2b
·
verified ·
1 Parent(s): eb27e3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
6
  from huggingface_hub import hf_hub_download
7
 
8
  # Ensure the Hugging Face token is retrieved from environment variables
9
- huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
10
 
11
  # Check if the token is available
12
  if huggingface_token is None:
 
6
  from huggingface_hub import hf_hub_download
7
 
8
  # Ensure the Hugging Face token is retrieved from environment variables
9
+ huggingface_token = os.getenv("HF_TOKEN")
10
 
11
  # Check if the token is available
12
  if huggingface_token is None: