gursul commited on
Commit
6f8cdd6
·
verified ·
1 Parent(s): fd69ed9

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -371,7 +371,7 @@ with gr.Blocks(fill_width=False) as demo:
371
  de_submit_btn = gr.Button("Check Answer (DE→EN)")
372
 
373
  with gr.Tab("Words Dataset"):
374
- with gr.Row():
375
  with gr.Column():
376
  english_in = gr.Textbox(label="English Word")
377
  type_in = gr.Dropdown(label="Word Type", choices=["noun", "verb", "other"], value="noun")
@@ -381,7 +381,7 @@ with gr.Blocks(fill_width=False) as demo:
381
  add_result = gr.Markdown()
382
  with gr.Column():
383
  delete_word_in = gr.Textbox(label="Word to Delete")
384
- delete_lang_in = gr.Dropdown(label="Language", choices=["en", "de"], value="en")
385
  delete_btn = gr.Button("Delete Word")
386
  delete_result = gr.Markdown()
387
 
 
371
  de_submit_btn = gr.Button("Check Answer (DE→EN)")
372
 
373
  with gr.Tab("Words Dataset"):
374
+ with gr.Row(equal_heights=True):
375
  with gr.Column():
376
  english_in = gr.Textbox(label="English Word")
377
  type_in = gr.Dropdown(label="Word Type", choices=["noun", "verb", "other"], value="noun")
 
381
  add_result = gr.Markdown()
382
  with gr.Column():
383
  delete_word_in = gr.Textbox(label="Word to Delete")
384
+ delete_lang_in = gr.Dropdown(label="Language", choices=["English", "Deutsch"], value="English")
385
  delete_btn = gr.Button("Delete Word")
386
  delete_result = gr.Markdown()
387