wufan commited on
Commit
3cf595b
1 Parent(s): 20abfc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ if __name__ == "__main__":
159
  with gr.Column():
160
  gr.Button(value="Predict Result:", interactive=False)
161
  pred_latex = gr.Textbox(label='Predict Latex', interactive=False)
162
- output_html = gr.HTML(label='Output Html')
163
 
164
  clear.click(gradio_reset, inputs=None, outputs=[input_img, pred_latex, output_html])
165
  predict.click(recognize_image, inputs=[input_img, model_type], outputs=[pred_latex, output_html])
 
159
  with gr.Column():
160
  gr.Button(value="Predict Result:", interactive=False)
161
  pred_latex = gr.Textbox(label='Predict Latex', interactive=False)
162
+ output_html = gr.HTML(label="Rendered html", show_label=True)
163
 
164
  clear.click(gradio_reset, inputs=None, outputs=[input_img, pred_latex, output_html])
165
  predict.click(recognize_image, inputs=[input_img, model_type], outputs=[pred_latex, output_html])