xxx1 commited on
Commit
0c873ec
·
1 Parent(s): 764d4c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -145,7 +145,7 @@ with gr.Blocks(
145
  state = gr.State([])
146
  #caption_output = None
147
  gr.Markdown(title)
148
- gr.Markdown(description)
149
  #gr.Markdown(article)
150
 
151
  with gr.Row():
@@ -168,8 +168,9 @@ with gr.Blocks(
168
  )
169
  '''
170
  with gr.Column():
171
- caption_output = gr.Textbox(lines=0, label="* VQA: The image and the question are fed into a VQA model (VLEForVQA) and the model predicts the answer.")
172
- caption_output_v1 = gr.Textbox(lines=0, label="* VQA + LLM (long answer): The pipeline is the same as VQA + LLM (short answer), except that the answer is freely generated by the LLM and not limited to VQA candidates.")
 
173
 
174
  gpt3_output_v1 = gr.Textbox(lines=0, label="VQA+LLM (long answer)")
175
 
 
145
  state = gr.State([])
146
  #caption_output = None
147
  gr.Markdown(title)
148
+
149
  #gr.Markdown(article)
150
 
151
  with gr.Row():
 
168
  )
169
  '''
170
  with gr.Column():
171
+ gr.Markdown(description)
172
+ caption_output = gr.Textbox(lines=0, label="VQA")
173
+ caption_output_v1 = gr.Textbox(lines=0, label="VQA + LLM (short answer)")
174
 
175
  gpt3_output_v1 = gr.Textbox(lines=0, label="VQA+LLM (long answer)")
176