shivace007 commited on
Commit
badfd23
·
verified ·
1 Parent(s): d9ebd94

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -3
src/streamlit_app.py CHANGED
@@ -27,8 +27,7 @@ if not api_key:
27
  st.stop()
28
 
29
  client = Groq(
30
- api_key=api_key,
31
- base_url="https://api.groq.com/v1"
32
  )
33
 
34
  # Create input field for image URL
@@ -56,7 +55,7 @@ if st.button("Analyze Image"):
56
 
57
  # Create the completion request
58
  completion = client.chat.completions.create(
59
- model="llama2-70b-4096", # Updated model name
60
  messages=[
61
  {
62
  "role": "user",
 
27
  st.stop()
28
 
29
  client = Groq(
30
+ api_key=api_key
 
31
  )
32
 
33
  # Create input field for image URL
 
55
 
56
  # Create the completion request
57
  completion = client.chat.completions.create(
58
+ model="meta-llama/llama-4-scout-17b-16e-instruct", # Updated model name
59
  messages=[
60
  {
61
  "role": "user",