Spaces:
Running
Running
Update app.py
Browse files
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
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
|
|
|
|
|
|
|
|
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="",
|