YAMITEK commited on
Commit
c23d8b1
·
verified ·
1 Parent(s): 6646a66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import os
6
  from huggingface_hub import login
7
 
8
  # Hugging Face Authentication
9
- hf_token = os.getenv("HUGGINGFACE_TOKEN", "").strip() # Remove any newline characters
10
 
11
  if not hf_token:
12
  st.error("HUGGINGFACE_TOKEN not found. Please set your Hugging Face token.")
 
6
  from huggingface_hub import login
7
 
8
  # Hugging Face Authentication
9
+ hf_token = os.getenv("H_API_KEY", "").strip() # Remove any newline characters
10
 
11
  if not hf_token:
12
  st.error("HUGGINGFACE_TOKEN not found. Please set your Hugging Face token.")