Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|
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])
|