mohammad2928git commited on
Commit
113c666
·
verified ·
1 Parent(s): 269702c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -5,10 +5,11 @@ def greet(name, intensity):
5
 
6
  with gr.Blocks() as demo:
7
  with gr.Row():
8
- with gr.Column(scale=1):
9
- btn1 = gr.Button("Button 1")
10
- btn2 = gr.Button("Button 2")
11
- with gr.Column(scale=4):
12
- gr.Textbox(lines=10, label="Prompt", scale=2)
13
- gr.Text("tiger.jpg", scale=1)
 
14
  demo.launch()
 
5
 
6
  with gr.Blocks() as demo:
7
  with gr.Row():
8
+ with gr.Column(scale=2):
9
+ text1 = gr.Textbox(lines=7, label="Prompt", scale=2)
10
+ btn1 = gr.Button("Submit")
11
+ btn2 = gr.Button("Clear")
12
+ btn3 = gr.Button("Clean Memory")
13
+ with gr.Column(scale=2):
14
+ gr.Text(lines=15, label="Output", scale=2)
15
  demo.launch()