Tonic commited on
Commit
4725fd5
1 Parent(s): 6566912

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -453,6 +453,7 @@ with gr.Blocks(theme='ParityError/Anime') as iface :
453
  text_input = gr.Textbox(label="input text",lines=5)
454
  text_output = gr.Markdown(label="output text")
455
  text_button = gr.Button("process text")
 
456
  text_button.click(process_and_query, inputs=[input_language, audio_input, image_input, text_input], outputs=[text_output, hallucination_output])
457
  gr.Examples([
458
  ["What is the proper treatment for buccal herpes?"],
 
453
  text_input = gr.Textbox(label="input text",lines=5)
454
  text_output = gr.Markdown(label="output text")
455
  text_button = gr.Button("process text")
456
+ hallucination_output = gr.Label(label="Hallucination Evaluation")
457
  text_button.click(process_and_query, inputs=[input_language, audio_input, image_input, text_input], outputs=[text_output, hallucination_output])
458
  gr.Examples([
459
  ["What is the proper treatment for buccal herpes?"],