khurrameycon commited on
Commit
16b709e
·
verified ·
1 Parent(s): 1eb7c2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -111,7 +111,7 @@ from huggingface_hub import InferenceClient
111
  def llm_chat_response(text):
112
  HF_TOKEN = os.getenv("HF_TOKEN")
113
  client = InferenceClient(
114
- provider="novita", # Use the provider that supports conversational image-text tasks.
115
  api_key=HF_TOKEN,
116
  )
117
 
@@ -127,7 +127,7 @@ def llm_chat_response(text):
127
  }]
128
 
129
  response_from_llama = client.chat.completions.create(
130
- model="meta-llama/Llama-3.2-11B-Vision-Instruct",
131
  messages=messages,
132
  max_tokens=500,
133
  )
 
111
  def llm_chat_response(text):
112
  HF_TOKEN = os.getenv("HF_TOKEN")
113
  client = InferenceClient(
114
+ provider="cerebras", # Use the provider that supports conversational image-text tasks.
115
  api_key=HF_TOKEN,
116
  )
117
 
 
127
  }]
128
 
129
  response_from_llama = client.chat.completions.create(
130
+ model="meta-llama/Llama-4-Scout-17B-16E-Instruct",
131
  messages=messages,
132
  max_tokens=500,
133
  )