Madhuri123 commited on
Commit
a0de172
·
verified ·
1 Parent(s): 384780e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from huggingface_hub import InferenceClient
3
 
4
  # Access your Hugging Face token (stored as a secret in the environment)
5
- hf_token = st.secrets["HF_Token"]
6
 
7
  # Initialize the Hugging Face Inference Client with the token
8
  client = InferenceClient(token=hf_token)
 
2
  from huggingface_hub import InferenceClient
3
 
4
  # Access your Hugging Face token (stored as a secret in the environment)
5
+ hf_token = st.secrets["Hf_Token"]
6
 
7
  # Initialize the Hugging Face Inference Client with the token
8
  client = InferenceClient(token=hf_token)