Belligerent commited on
Commit
e708248
1 Parent(s): c338442

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def wsd_gen(word, context, d1, d2, d3):
13
 
14
  examples = [["beat", 'The underdog team "beat" the reigning champion.', " A main accent or rhythmic unit in music or poetry. " , " To strike repeatedly and violently so as to hurt or injure.", " To defeat (someone) in a game or other competitive situation. "], ["shell", 'The first "shell" exploded in mid air taking out an enemy plane.', "The hard protective outer case of a mollusk or crustacean.", "An explosive artillery projectile or bomb.", "Something resembling or likened to a shell because of its shape or its function as an outer case."]]
15
 
16
- word_mask = gr.Textbox(lines=1, placeholder= "Enter word to disambiguate", default="", label = "Based on the context, which description best matches this word: ")
17
  input_context = gr.Textbox(lines=1, placeholder="Enter context", label = "context: ")
18
  input_desc1 = gr.Textbox(lines=1, placeholder="Enter description", label = "description 1: ")
19
  input_desc2 = gr.Textbox(lines=1, placeholder="Enter description", label = "description 2: ")
 
13
 
14
  examples = [["beat", 'The underdog team "beat" the reigning champion.', " A main accent or rhythmic unit in music or poetry. " , " To strike repeatedly and violently so as to hurt or injure.", " To defeat (someone) in a game or other competitive situation. "], ["shell", 'The first "shell" exploded in mid air taking out an enemy plane.', "The hard protective outer case of a mollusk or crustacean.", "An explosive artillery projectile or bomb.", "Something resembling or likened to a shell because of its shape or its function as an outer case."]]
15
 
16
+ word_mask = gr.Textbox(lines=1, placeholder= "Enter word to disambiguate", label = "Based on the context, which description best matches this word: ")
17
  input_context = gr.Textbox(lines=1, placeholder="Enter context", label = "context: ")
18
  input_desc1 = gr.Textbox(lines=1, placeholder="Enter description", label = "description 1: ")
19
  input_desc2 = gr.Textbox(lines=1, placeholder="Enter description", label = "description 2: ")