Spaces:
Sleeping
Sleeping
ubermenchh
commited on
Commit
•
3802e4a
1
Parent(s):
cf829a4
Update app.py
Browse files
app.py
CHANGED
@@ -102,23 +102,22 @@ with gr.Blocks(theme='Taithrah/Minimal') as demo:
|
|
102 |
gr.Markdown(DESCRIPTION)
|
103 |
|
104 |
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
with gr.Row():
|
109 |
-
textbox = gr.Textbox(
|
110 |
-
container=False,
|
111 |
-
show_label=False,
|
112 |
-
placeholder='Hi, Mistral',
|
113 |
-
scale=10
|
114 |
-
)
|
115 |
-
submit_button = gr.Button('Submit', variant='primary', scale=1, min_width=0)
|
116 |
-
|
117 |
-
with gr.Column(scale=1):
|
118 |
with gr.Row():
|
119 |
-
|
120 |
-
|
121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
|
123 |
saved_input = gr.State()
|
124 |
|
|
|
102 |
gr.Markdown(DESCRIPTION)
|
103 |
|
104 |
|
105 |
+
|
106 |
+
with gr.Group():
|
107 |
+
chatbot = gr.Chatbot(label='Mistral-7B-Instruct-v0.1')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
with gr.Row():
|
109 |
+
textbox = gr.Textbox(
|
110 |
+
container=False,
|
111 |
+
show_label=False,
|
112 |
+
placeholder='Hi, Mistral',
|
113 |
+
scale=10
|
114 |
+
)
|
115 |
+
submit_button = gr.Button('Submit', variant='primary', scale=1, min_width=0)
|
116 |
+
|
117 |
+
with gr.Row():
|
118 |
+
retry_button = gr.Button('Retry', variant='secondary')
|
119 |
+
undo_button = gr.Button('Undo', variant='secondary')
|
120 |
+
clear_button = gr.Button('Clear', variant='secondary')
|
121 |
|
122 |
saved_input = gr.State()
|
123 |
|