fffiloni commited on
Commit
b240a22
1 Parent(s): 1d3be15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -98,7 +98,7 @@ instruction = f"""
98
  """
99
 
100
  def infer(image_in):
101
- gr.Info("Getting image caption with Kosmos2...")
102
  user_prompt = get_caption(image_in)
103
 
104
  prompt = f"{instruction.strip()}\n{user_prompt}</s>"
@@ -143,7 +143,7 @@ with gr.Blocks(css=css) as demo:
143
  submit_btn = gr.Button("Make LLM system from my pic !")
144
  with gr.Column():
145
  caption = gr.Textbox(
146
- label = "Image caption (Kosmos2)",
147
  elem_id = "image-caption"
148
  )
149
  result = gr.Textbox(
 
98
  """
99
 
100
  def infer(image_in):
101
+ gr.Info("Getting image caption with moondream1...")
102
  user_prompt = get_caption(image_in)
103
 
104
  prompt = f"{instruction.strip()}\n{user_prompt}</s>"
 
143
  submit_btn = gr.Button("Make LLM system from my pic !")
144
  with gr.Column():
145
  caption = gr.Textbox(
146
+ label = "Image caption (moondream1)",
147
  elem_id = "image-caption"
148
  )
149
  result = gr.Textbox(