Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,8 +49,8 @@ def generate_response(chat_history):
|
|
| 49 |
with gr.Blocks(fill_height=True) as demo:
|
| 50 |
gr.Markdown("# Slide Chat Bot")
|
| 51 |
# We use a state object to store the system message, though it's constant here
|
| 52 |
-
chatbot = gr.Chatbot()
|
| 53 |
-
msg = gr.Textbox(label="Input")
|
| 54 |
clear = gr.Button("Clear")
|
| 55 |
|
| 56 |
def respond(message, chat_history):
|
|
|
|
| 49 |
with gr.Blocks(fill_height=True) as demo:
|
| 50 |
gr.Markdown("# Slide Chat Bot")
|
| 51 |
# We use a state object to store the system message, though it's constant here
|
| 52 |
+
chatbot = gr.Chatbot(scale=1)
|
| 53 |
+
msg = gr.Textbox(label="Input", scale=0)
|
| 54 |
clear = gr.Button("Clear")
|
| 55 |
|
| 56 |
def respond(message, chat_history):
|