gursul commited on
Commit
2cded7d
·
verified ·
1 Parent(s): bd0da40

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -386,10 +386,6 @@ with gr.Blocks() as demo:
386
  add_btn = gr.Button("Add Word")
387
  add_result = gr.Markdown("Let's add some words!!!")
388
  with gr.Column():
389
- delete_word_in = gr.Textbox(label="Word to Delete")
390
- delete_lang_in = gr.Dropdown(label="Language", choices=["English", "Deutsch"], value="English")
391
- delete_btn = gr.Button("Delete Word")
392
- delete_result = gr.Markdown("So you're deleting me...")
393
  meme_img = gr.Image(
394
  value=MEME_PATH,
395
  label="Fun Meme",
@@ -397,8 +393,12 @@ with gr.Blocks() as demo:
397
  show_label=False,
398
  show_share_button=False,
399
  show_fullscreen_button=False,
400
- height=200
401
  )
 
 
 
 
402
 
403
  with gr.Row(equal_height=True):
404
  search_box = gr.Textbox(label="Search words", placeholder="Type to filter...", scale=5)
 
386
  add_btn = gr.Button("Add Word")
387
  add_result = gr.Markdown("Let's add some words!!!")
388
  with gr.Column():
 
 
 
 
389
  meme_img = gr.Image(
390
  value=MEME_PATH,
391
  label="Fun Meme",
 
393
  show_label=False,
394
  show_share_button=False,
395
  show_fullscreen_button=False,
396
+ height=150
397
  )
398
+ delete_word_in = gr.Textbox(label="Word to Delete")
399
+ delete_lang_in = gr.Dropdown(label="Language", choices=["English", "Deutsch"], value="English")
400
+ delete_btn = gr.Button("Delete Word")
401
+ delete_result = gr.Markdown("So you're deleting me...")
402
 
403
  with gr.Row(equal_height=True):
404
  search_box = gr.Textbox(label="Search words", placeholder="Type to filter...", scale=5)