preston-cell commited on
Commit
78c45fd
·
verified ·
1 Parent(s): 4b42331

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,9 +1,10 @@
1
  import gradio as gr
2
  from transformers import pipeline
 
3
  messages = [
4
  {"role": "user", "content": "Who are you?"},
5
  ]
6
- pipe = pipeline("image-text-to-text", model="Qwen/Qwen2.5-VL-7B-Instruct")
7
  pipe(messages)
8
 
9
  def launch(input):
 
1
  import gradio as gr
2
  from transformers import pipeline
3
+
4
  messages = [
5
  {"role": "user", "content": "Who are you?"},
6
  ]
7
+ pipe = pipeline("image-text-to-text", model="ibm-granite/granite-vision-3.2-2b")
8
  pipe(messages)
9
 
10
  def launch(input):