Rishabh12j commited on
Commit
900a270
·
verified ·
1 Parent(s): 38f0ecf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,10 +16,10 @@ def main():
16
  with gr.Blocks() as demo:
17
  with gr.Row():
18
  with gr.Column(scale=3):
19
- text_input = gr.Textbox()
20
  with gr.Row():
21
  with gr.Column(scale=1):
22
- text_output = gr.Textbox()
23
  with gr.Row():
24
  text_button = gr.Button("Send")
25
  text_button.click(res, text_input, text_output)
 
16
  with gr.Blocks() as demo:
17
  with gr.Row():
18
  with gr.Column(scale=3):
19
+ text_input = gr.Textbox(lines=4, placeholder="Input prompt")
20
  with gr.Row():
21
  with gr.Column(scale=1):
22
+ text_output = gr.Textbox(lines=4, placeholder="Output prompt")
23
  with gr.Row():
24
  text_button = gr.Button("Send")
25
  text_button.click(res, text_input, text_output)