Maia Pelletier commited on
Commit ·
91ed532
1
Parent(s): 8e346ca
add example questions to chatbot
Browse files
app.py
CHANGED
|
@@ -425,6 +425,20 @@ with gr.Blocks(title="Ask AgriWise AI") as app:
|
|
| 425 |
with gr.Row():
|
| 426 |
submit_btn = gr.Button("Send", variant="primary")
|
| 427 |
clear_btn = gr.Button("Clear")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 428 |
|
| 429 |
msg.submit(
|
| 430 |
chatbot.chat,
|
|
|
|
| 425 |
with gr.Row():
|
| 426 |
submit_btn = gr.Button("Send", variant="primary")
|
| 427 |
clear_btn = gr.Button("Clear")
|
| 428 |
+
|
| 429 |
+
with gr.Accordion("Example questions", open=False):
|
| 430 |
+
gr.Markdown("""
|
| 431 |
+
- What are the general principles of organic production in Canada?
|
| 432 |
+
- What substances are permitted for use in organic crop production?
|
| 433 |
+
- Can I use synthetic pesticides on an organic farm?
|
| 434 |
+
- What are the requirements for transitioning land to organic certification?
|
| 435 |
+
- What livestock practices are required under Canadian organic standards?
|
| 436 |
+
- Are antibiotics allowed in organic livestock production?
|
| 437 |
+
- What labelling requirements apply to organic products in Canada?
|
| 438 |
+
- What is the difference between "organic" and "made with organic ingredients" on a label?
|
| 439 |
+
- What are the permitted substances for organic aquaculture in Canada?
|
| 440 |
+
- Who certifies organic products in Canada?
|
| 441 |
+
""")
|
| 442 |
|
| 443 |
msg.submit(
|
| 444 |
chatbot.chat,
|