chansung commited on
Commit
029ff92
·
1 Parent(s): 3c6ebcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -11,11 +11,7 @@ STYLE = """
11
  }
12
 
13
  .custom-btn:hover {
14
- background: rgb(243 244 246);
15
- }
16
-
17
- #prompt-txt {
18
-
19
  }
20
 
21
  #prompt-txt > label > span {
@@ -139,13 +135,17 @@ with gr.Blocks(css=STYLE) as block:
139
  )
140
 
141
  with gr.Row():
142
- with gr.Column(scale=1, min_width=100, elem_id="left-pane"):
143
- first = gr.Button("1st", elem_classes=["custom-btn"])
144
- second = gr.Button("2nd", elem_classes=["custom-btn"])
145
- third = gr.Button("3rd", elem_classes=["custom-btn"])
146
- fourth = gr.Button("4th", elem_classes=["custom-btn"])
147
- fifth = gr.Button("5th", elem_classes=["custom-btn"])
148
- with gr.Column(scale=4):
 
 
 
 
149
  chatbot = gr.Chatbot(elem_id='chatbot')
150
  instruction_txtbox = gr.Textbox(
151
  placeholder="What do you want to say to AI?", label="",
 
11
  }
12
 
13
  .custom-btn:hover {
14
+ background: rgb(243 244 246) !important;
 
 
 
 
15
  }
16
 
17
  #prompt-txt > label > span {
 
135
  )
136
 
137
  with gr.Row():
138
+ with gr.Column(scale=1, min_width=100):
139
+ gr.Markdown("GradioChat")
140
+
141
+ with gr.Column(elem_id="left-pane"):
142
+ first = gr.Button("1st", elem_classes=["custom-btn"])
143
+ second = gr.Button("2nd", elem_classes=["custom-btn"])
144
+ third = gr.Button("3rd", elem_classes=["custom-btn"])
145
+ fourth = gr.Button("4th", elem_classes=["custom-btn"])
146
+ fifth = gr.Button("5th", elem_classes=["custom-btn"])
147
+
148
+ with gr.Column(scale=10):
149
  chatbot = gr.Chatbot(elem_id='chatbot')
150
  instruction_txtbox = gr.Textbox(
151
  placeholder="What do you want to say to AI?", label="",