awacke1 commited on
Commit
e7beade
1 Parent(s): ec45a48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -9,8 +9,10 @@ def complete_with_gpt(text):
9
 
10
 
11
  with gr.Blocks() as demo:
12
- textbox = gr.Textbox(placeholder="Type here and press enter...", lines=4)
13
- btn = gr.Button("Generate")
 
 
14
 
15
  btn.click(complete_with_gpt, textbox, textbox)
16
 
 
9
 
10
 
11
  with gr.Blocks() as demo:
12
+ with gr.Row():
13
+ textbox = gr.Textbox(placeholder="Type here and press enter...", lines=4)
14
+ with gr.Column():
15
+ btn = gr.Button("Generate")
16
 
17
  btn.click(complete_with_gpt, textbox, textbox)
18