Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def respond(message, history):
|
|
| 42 |
response += token
|
| 43 |
yield response
|
| 44 |
|
| 45 |
-
|
| 46 |
|
| 47 |
theme = gr.themes.Monochrome(
|
| 48 |
primary_hue="orange",
|
|
@@ -59,9 +59,9 @@ theme = gr.themes.Monochrome(
|
|
| 59 |
|
| 60 |
with gr.Blocks(theme=theme) as chatbot:
|
| 61 |
gr.Markdown("## 🥗🍴 The BiteBot")
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
)
|
| 66 |
chatbot.launch()
|
| 67 |
|
|
|
|
| 42 |
response += token
|
| 43 |
yield response
|
| 44 |
|
| 45 |
+
|
| 46 |
|
| 47 |
theme = gr.themes.Monochrome(
|
| 48 |
primary_hue="orange",
|
|
|
|
| 59 |
|
| 60 |
with gr.Blocks(theme=theme) as chatbot:
|
| 61 |
gr.Markdown("## 🥗🍴 The BiteBot")
|
| 62 |
+
gr.ChatInterface(
|
| 63 |
+
fn=respond,
|
| 64 |
+
type="messages",
|
| 65 |
)
|
| 66 |
chatbot.launch()
|
| 67 |
|