deepsync commited on
Commit
771433c
·
1 Parent(s): e149614

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ with gr.Blocks() as demo:
50
  language = gr.Dropdown(LANGUAGES, value="Spanish", label="Language")
51
  text = gr.Textbox(lines=4, label="Text")
52
  submit = gr.Button(label="Submit")
53
- dataframe = gr.Dataframe(wrap=True, label="Alternate Rephrasings", height=20000)
54
  word_count = gr.Textbox(lines=1, label="Word Count")
55
 
56
  submit.click(get_alternate_text, [text, language], [word_count, dataframe])
 
50
  language = gr.Dropdown(LANGUAGES, value="Spanish", label="Language")
51
  text = gr.Textbox(lines=4, label="Text")
52
  submit = gr.Button(label="Submit")
53
+ dataframe = gr.Dataframe(wrap=True, label="Alternate Rephrasings")
54
  word_count = gr.Textbox(lines=1, label="Word Count")
55
 
56
  submit.click(get_alternate_text, [text, language], [word_count, dataframe])