Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def chat_with_image(message, image, history):
|
|
55 |
# Call the Together AI API
|
56 |
try:
|
57 |
response = client.chat.completions.create(
|
58 |
-
model="meta-llama/Llama-Vision-
|
59 |
messages=messages,
|
60 |
max_tokens=512,
|
61 |
temperature=0.7,
|
@@ -86,6 +86,7 @@ def chat_with_image(message, image, history):
|
|
86 |
|
87 |
|
88 |
|
|
|
89 |
# Create the Gradio interface
|
90 |
with gr.Blocks() as demo:
|
91 |
chatbot = gr.Chatbot()
|
|
|
55 |
# Call the Together AI API
|
56 |
try:
|
57 |
response = client.chat.completions.create(
|
58 |
+
model="meta-llama/Llama-3.2-11B-Vision-Instruct-Turbo",
|
59 |
messages=messages,
|
60 |
max_tokens=512,
|
61 |
temperature=0.7,
|
|
|
86 |
|
87 |
|
88 |
|
89 |
+
|
90 |
# Create the Gradio interface
|
91 |
with gr.Blocks() as demo:
|
92 |
chatbot = gr.Chatbot()
|