awacke1 commited on
Commit
e6fc461
·
1 Parent(s): a31a32d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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()