Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- 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="
|
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",
|