Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ with gr.Blocks() as app:
108
  with gr.Tab("Translation"):
109
  gr.Markdown("### Upload PDF for Translation")
110
  pdf_input_translation = gr.File(label="Upload PDF Document")
111
- language_options = ["Hindi", "Tamil", "Malayalam", "English"] # Hindi, Tamil, Malayalam, English
112
  language_selector = gr.Dropdown(choices=language_options, label="Select Language", value="hi")
113
  translation_output = gr.File(label="Download Translated PDF")
114
  translated_text_output = gr.Textbox(label="Translated Text", lines=10)
 
108
  with gr.Tab("Translation"):
109
  gr.Markdown("### Upload PDF for Translation")
110
  pdf_input_translation = gr.File(label="Upload PDF Document")
111
+ language_options = ["hi", "ta", "ml", "en"] # Hindi, Tamil, Malayalam, English
112
  language_selector = gr.Dropdown(choices=language_options, label="Select Language", value="hi")
113
  translation_output = gr.File(label="Download Translated PDF")
114
  translated_text_output = gr.Textbox(label="Translated Text", lines=10)