seawolf2357 commited on
Commit
6538de8
·
verified ·
1 Parent(s): 1862a67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -30,10 +30,11 @@ def build_gradio_app():
30
  with gr.Row():
31
  image_input = gr.Image(type="filepath", label="이미지 업로드") # 'file' 타입을 'filepath'로 변경
32
  submit_button = gr.Button("변환하기")
33
- outputs = {f: gr.Textbox(label=f"{f} 결과") for f in ["text", "latex_styled", "latex_normal", "latex_list", "latex_simplified", "asciimath", "mathml"]}
34
-
35
  submit_button.click(fn=get_latex_from_image_all_formats, inputs=[image_input], outputs=outputs)
36
 
 
 
37
  return app
38
 
39
  if __name__ == "__main__":
 
30
  with gr.Row():
31
  image_input = gr.Image(type="filepath", label="이미지 업로드") # 'file' 타입을 'filepath'로 변경
32
  submit_button = gr.Button("변환하기")
33
+ outputs = [gr.Textbox(label=f"{f} 결과") for f in ["text", "latex_styled", "latex_normal", "latex_list", "latex_simplified", "asciimath", "mathml"]]
 
34
  submit_button.click(fn=get_latex_from_image_all_formats, inputs=[image_input], outputs=outputs)
35
 
36
+
37
+
38
  return app
39
 
40
  if __name__ == "__main__":