youngtsai commited on
Commit
b1497ac
โ€ข
1 Parent(s): 2895fc0

with gr.Row():

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -501,6 +501,7 @@ with gr.Blocks() as demo:
501
  with gr.Tab("ๆ‰น้‡่™•็†"):
502
  with gr.Row():
503
  gr.Markdown("## ๆ‰น้‡ๅœ–็‰‡่™•็† + Perseus JSON ็”Ÿๆˆ")
 
504
  image_input = gr.Files(label="้ธๆ“‡ๅœ–็‰‡", type="filepath")
505
  submit_button = gr.Button("้–‹ๅง‹่™•็†ๅœ–็‰‡")
506
  with gr.Row():
@@ -519,6 +520,7 @@ with gr.Blocks() as demo:
519
  with gr.Tab("ๅ–ฎๅผต่™•็†"):
520
  with gr.Row():
521
  gr.Markdown("## ๅ–ฎๅผตๅœ–็‰‡่™•็†")
 
522
  single_image_input = gr.Files(label="้ธๆ“‡ๅœ–็‰‡", type="filepath")
523
  single_submit_button = gr.Button("้–‹ๅง‹่™•็†ๅœ–็‰‡")
524
  with gr.Row():
@@ -538,6 +540,7 @@ with gr.Blocks() as demo:
538
  with gr.Tab("PDF ่™•็†"):
539
  with gr.Row():
540
  gr.Markdown("## PDF ๆ–‡ไปถ่™•็†")
 
541
  pdf_input = gr.File(type="filepath")
542
  pdf_submit_button = gr.Button("้–‹ๅง‹่™•็† PDF")
543
  with gr.Row():
 
501
  with gr.Tab("ๆ‰น้‡่™•็†"):
502
  with gr.Row():
503
  gr.Markdown("## ๆ‰น้‡ๅœ–็‰‡่™•็† + Perseus JSON ็”Ÿๆˆ")
504
+ with gr.Row():
505
  image_input = gr.Files(label="้ธๆ“‡ๅœ–็‰‡", type="filepath")
506
  submit_button = gr.Button("้–‹ๅง‹่™•็†ๅœ–็‰‡")
507
  with gr.Row():
 
520
  with gr.Tab("ๅ–ฎๅผต่™•็†"):
521
  with gr.Row():
522
  gr.Markdown("## ๅ–ฎๅผตๅœ–็‰‡่™•็†")
523
+ with gr.Row():
524
  single_image_input = gr.Files(label="้ธๆ“‡ๅœ–็‰‡", type="filepath")
525
  single_submit_button = gr.Button("้–‹ๅง‹่™•็†ๅœ–็‰‡")
526
  with gr.Row():
 
540
  with gr.Tab("PDF ่™•็†"):
541
  with gr.Row():
542
  gr.Markdown("## PDF ๆ–‡ไปถ่™•็†")
543
+ with gr.Row():
544
  pdf_input = gr.File(type="filepath")
545
  pdf_submit_button = gr.Button("้–‹ๅง‹่™•็† PDF")
546
  with gr.Row():