HassanDataSci commited on
Commit
e4d47cc
·
verified ·
1 Parent(s): cf96f50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from huggingface_hub import InferenceClient
5
  import os
6
 
7
  # Hugging Face API key
8
- API_KEY = st.secrets["HF_AUTH_TOKEN"]
9
 
10
  # Initialize the Hugging Face Inference Client
11
  client = InferenceClient(api_key=API_KEY)
 
5
  import os
6
 
7
  # Hugging Face API key
8
+ API_KEY = st.secrets["HF_API_KEY"]
9
 
10
  # Initialize the Hugging Face Inference Client
11
  client = InferenceClient(api_key=API_KEY)