Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,10 @@ with gr.Blocks() as block:
|
|
16 |
["short", "long", "none"], label="What kind of essay would you like to write?"
|
17 |
)
|
18 |
textin = gr.Textbox(lines=2, interactive=True)
|
|
|
|
|
19 |
textout = gr.Textbox(lines=2, interactive=True)
|
|
|
|
|
20 |
radio.change(fn=change_textbox, inputs=[radio, textin], outputs=textout)
|
21 |
block.launch()
|
|
|
16 |
["short", "long", "none"], label="What kind of essay would you like to write?"
|
17 |
)
|
18 |
textin = gr.Textbox(lines=2, interactive=True)
|
19 |
+
textin.update(lines=8, visible=True)
|
20 |
+
|
21 |
textout = gr.Textbox(lines=2, interactive=True)
|
22 |
+
textout.update(lines=8, visible=True)
|
23 |
+
|
24 |
radio.change(fn=change_textbox, inputs=[radio, textin], outputs=textout)
|
25 |
block.launch()
|