nelsonjq commited on
Commit
5323684
·
verified ·
1 Parent(s): 8bdbe52
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ with gr.Blocks() as interface:
31
  gr.Markdown("# PDF Text Aligner\nUpload two PDF files and select languages to align the text.")
32
  source_file = gr.File(label="Upload Source PDF")
33
  target_file = gr.File(label="Upload Target PDF")
34
- lang1 = gr.Dropdown(choices=["en", "es", "fr", "ch", "ar", "ru", "pt-br", "sw"], label="Select Language 1")
35
- lang2 = gr.Dropdown(choices=["en", "es", "fr", "ch", "ar", "ru", "pt-br", "sw"], label="Select Language 2", value="es")
36
  start_button = gr.Button(value="Start")
37
  aligned_html = gr.HTML(label="Aligned DataFrame")
38
  download_button = gr.File(label="Download Aligned Data as Excel")
 
31
  gr.Markdown("# PDF Text Aligner\nUpload two PDF files and select languages to align the text.")
32
  source_file = gr.File(label="Upload Source PDF")
33
  target_file = gr.File(label="Upload Target PDF")
34
+ lang1 = gr.Dropdown(choices=["en", "es", "fr", "zh", "ar", "ru", "pt"], label="Select Language 1")
35
+ lang2 = gr.Dropdown(choices=["en", "es", "fr", "zh", "ar", "ru", "pt"], label="Select Language 2", value="es")
36
  start_button = gr.Button(value="Start")
37
  aligned_html = gr.HTML(label="Aligned DataFrame")
38
  download_button = gr.File(label="Download Aligned Data as Excel")