Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,12 +15,12 @@ with gr.Blocks(title=title) as demo:
|
|
15 |
gr.Markdown(f'<h1 style="text-align: center; margin-bottom: 1rem;">{title}</h1>')
|
16 |
with gr.Row():
|
17 |
with gr.Column():
|
18 |
-
inp_text = gr.Textbox(placeholder="Enter Text..", label="Input")
|
19 |
with gr.Row():
|
20 |
btn_clear = gr.ClearButton([inp_text])
|
21 |
btn_submit = gr.Button(value="Submit", variant="primary")
|
22 |
with gr.Column():
|
23 |
-
text = gr.Textbox(label="Output")
|
24 |
|
25 |
btn_submit.click(text_checker, inputs=[inp_text], outputs=text)
|
26 |
btn_clear.add(text)
|
|
|
15 |
gr.Markdown(f'<h1 style="text-align: center; margin-bottom: 1rem;">{title}</h1>')
|
16 |
with gr.Row():
|
17 |
with gr.Column():
|
18 |
+
inp_text = gr.Textbox(placeholder="Enter Text..", label="Input", lines=4)
|
19 |
with gr.Row():
|
20 |
btn_clear = gr.ClearButton([inp_text])
|
21 |
btn_submit = gr.Button(value="Submit", variant="primary")
|
22 |
with gr.Column():
|
23 |
+
text = gr.Textbox(label="Output", lines=4)
|
24 |
|
25 |
btn_submit.click(text_checker, inputs=[inp_text], outputs=text)
|
26 |
btn_clear.add(text)
|