Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -110,7 +110,9 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 110 |
submit_btn = gr.Button("Ask Scooby")
|
| 111 |
submit_btn.click(fn=respond, inputs=text_input, outputs=output)
|
| 112 |
with gr.TabItem("🍲 Recipes"):
|
| 113 |
-
gr.ChatInterface(fn=respond,title="Pet Recipe Assistant 🍽️",
|
|
|
|
|
|
|
| 114 |
|
| 115 |
|
| 116 |
|
|
|
|
| 110 |
submit_btn = gr.Button("Ask Scooby")
|
| 111 |
submit_btn.click(fn=respond, inputs=text_input, outputs=output)
|
| 112 |
with gr.TabItem("🍲 Recipes"):
|
| 113 |
+
gr.ChatInterface(fn=respond,title="Pet Recipe Assistant 🍽️",
|
| 114 |
+
textbox=gr.Textbox(placeholder="What does your pet need a recipe for?",
|
| 115 |
+
label="Recipe Request"),history=True,retry_btn="🔁 Try Again",clear_btn="🧹 Clear Chat")
|
| 116 |
|
| 117 |
|
| 118 |
|