ProfessorLeVesseur commited on
Commit
48118a5
·
verified ·
1 Parent(s): 7956ee3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import requests
3
 
4
  # Hugging Face API setup
5
  API_URL = "https://api-inference.huggingface.co/models/meta-llama/Llama-3.2-11B-Vision-Instruct"
6
- headers = {"Authorization": f"Bearer {st.secrets['hf_api_key']}"}
7
 
8
  # Function to query the model
9
  def query_image(image_data, prompt_text):
 
3
 
4
  # Hugging Face API setup
5
  API_URL = "https://api-inference.huggingface.co/models/meta-llama/Llama-3.2-11B-Vision-Instruct"
6
+ headers = {"Authorization": f"Bearer {st.secrets['huggingface_api_key']}"}
7
 
8
  # Function to query the model
9
  def query_image(image_data, prompt_text):