fffiloni commited on
Commit
09d059c
1 Parent(s): bf18300

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -76,7 +76,7 @@ instruction = f"""
76
  """
77
 
78
  def infer(image_in):
79
- gr.Info("Getting image caption with Fuyu...")
80
  user_prompt = get_caption(image_in)
81
 
82
  prompt = f"{instruction.strip()}\n{user_prompt}</s>"
@@ -121,7 +121,7 @@ with gr.Blocks(css=css) as demo:
121
  submit_btn = gr.Button("Make LLM system from my pic !")
122
  with gr.Column():
123
  caption = gr.Textbox(
124
- label = "Image caption (fuyu)",
125
  elem_id = "image-caption"
126
  )
127
  result = gr.Textbox(
 
76
  """
77
 
78
  def infer(image_in):
79
+ gr.Info("Getting image caption with Kosmos2...")
80
  user_prompt = get_caption(image_in)
81
 
82
  prompt = f"{instruction.strip()}\n{user_prompt}</s>"
 
121
  submit_btn = gr.Button("Make LLM system from my pic !")
122
  with gr.Column():
123
  caption = gr.Textbox(
124
+ label = "Image caption (Kosmos2)",
125
  elem_id = "image-caption"
126
  )
127
  result = gr.Textbox(