try
Browse files
app.py
CHANGED
|
@@ -93,7 +93,7 @@ def respond(message,history):
|
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
-
with gr.Blocks(theme='hmb/amethyst') as
|
| 97 |
with gr.Row(equal_height=True):
|
| 98 |
with gr.Column(scale=10):
|
| 99 |
gr.Markdown(
|
|
@@ -116,5 +116,5 @@ with gr.Blocks(theme='hmb/amethyst') as chatbot:
|
|
| 116 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
| 117 |
send.click(respond, [msg, chatbot], [msg, chatbot])
|
| 118 |
|
| 119 |
-
|
| 120 |
chatbot.launch()
|
|
|
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
+
with gr.Blocks(theme='hmb/amethyst') as demo:
|
| 97 |
with gr.Row(equal_height=True):
|
| 98 |
with gr.Column(scale=10):
|
| 99 |
gr.Markdown(
|
|
|
|
| 116 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
| 117 |
send.click(respond, [msg, chatbot], [msg, chatbot])
|
| 118 |
|
| 119 |
+
demo.launch()
|
| 120 |
chatbot.launch()
|