Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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])
|