seawolf2357 commited on
Commit
9229c9b
·
verified ·
1 Parent(s): 18e6128

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -49,6 +49,8 @@ def build_gradio_app(css=css):
49
 
50
  # 단일 출력을 위해 outputs 부분을 단순화
51
  outputs = gr.Textbox(label="결과")
 
 
52
 
53
  def process_and_output(image):
54
  latex_result = get_latex_from_image_all_formats(image)
 
49
 
50
  # 단일 출력을 위해 outputs 부분을 단순화
51
  outputs = gr.Textbox(label="결과")
52
+ 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")
53
+
54
 
55
  def process_and_output(image):
56
  latex_result = get_latex_from_image_all_formats(image)