hassanelmghari commited on
Commit
c671a2f
1 Parent(s): c0f2d6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -60,7 +60,7 @@ def bot_streaming(message, history, max_new_tokens=250, api_key=None, max_histor
60
 
61
  try:
62
  stream = client.chat.completions.create(
63
- model="meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo",
64
  messages=messages,
65
  max_tokens=max_new_tokens,
66
  stream=True,
@@ -81,7 +81,7 @@ def bot_streaming(message, history, max_new_tokens=250, api_key=None, max_histor
81
 
82
  demo = gr.ChatInterface(
83
  fn=bot_streaming,
84
- title="Meta Llama-3.2-90B-Vision-Instruct-Turbo",
85
  textbox=gr.MultimodalTextbox(),
86
  additional_inputs=[
87
  gr.Slider(
@@ -97,7 +97,7 @@ demo = gr.ChatInterface(
97
  )
98
  ],
99
  cache_examples=False,
100
- description="Try Multimodal Llama by Meta with the Together API in this demo. Upload an image, and start chatting about it. You can provide your own API key or use the default one.",
101
  stop_btn="Stop Generation",
102
  fill_height=True,
103
  multimodal=True
 
60
 
61
  try:
62
  stream = client.chat.completions.create(
63
+ model="meta-llama/Llama-Vision-Free",
64
  messages=messages,
65
  max_tokens=max_new_tokens,
66
  stream=True,
 
81
 
82
  demo = gr.ChatInterface(
83
  fn=bot_streaming,
84
+ title="Meta Llama-3.2-11B-Vision-Instruct (FREE)",
85
  textbox=gr.MultimodalTextbox(),
86
  additional_inputs=[
87
  gr.Slider(
 
97
  )
98
  ],
99
  cache_examples=False,
100
+ description="Try the new Llama 3.2 11B Vision API by Meta for free through Together AI. Upload an image, and start chatting about it. Just paste in your Together AI API key and get started!",
101
  stop_btn="Stop Generation",
102
  fill_height=True,
103
  multimodal=True