mohammad2928git commited on
Commit
269702c
·
verified ·
1 Parent(s): 826ed99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -5,6 +5,10 @@ def greet(name, intensity):
5
 
6
  with gr.Blocks() as demo:
7
  with gr.Row():
8
- gr.Textbox(lines=10, label="Prompt", scale=2)
9
- gr.Text("tiger.jpg", scale=1)
 
 
 
 
10
  demo.launch()
 
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()