seawolf2357 commited on
Commit
e5c94e2
·
verified ·
1 Parent(s): 86ad50a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -51,6 +51,8 @@ def build_gradio_app(css=css):
51
 
52
  image_input = gr.Image(type="pil", label="이미지 업로드")
53
  submit_button = gr.Button("변환하기")
 
 
54
 
55
  output_text = gr.Textbox(label="결과")
56
  latex_iframe = gr.HTML(value='<iframe src="https://www.mathjax.org/#demo" style="width: 100%; height: 700px; border: 2px solid #007bff; border-radius: 8px;"></iframe>', elem_id="latex_iframe")
@@ -62,7 +64,6 @@ def build_gradio_app(css=css):
62
 
63
  submit_button.click(fn=process_and_output, inputs=image_input, outputs=output_text)
64
 
65
- examples = gr.Examples(examples=[["ko.png"], ["en.png"], ["hand.jpg"]], inputs=image_input, fn=process_and_output, outputs=output_text)
66
 
67
  return demo
68
 
 
51
 
52
  image_input = gr.Image(type="pil", label="이미지 업로드")
53
  submit_button = gr.Button("변환하기")
54
+
55
+ examples = gr.Examples(examples=[["ko.png"], ["en.png"], ["hand.jpg"]], inputs=image_input, fn=process_and_output, outputs=output_text)
56
 
57
  output_text = gr.Textbox(label="결과")
58
  latex_iframe = gr.HTML(value='<iframe src="https://www.mathjax.org/#demo" style="width: 100%; height: 700px; border: 2px solid #007bff; border-radius: 8px;"></iframe>', elem_id="latex_iframe")
 
64
 
65
  submit_button.click(fn=process_and_output, inputs=image_input, outputs=output_text)
66
 
 
67
 
68
  return demo
69