Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,56 +58,56 @@ iface = gr.Interface(
|
|
58 |
title="CannaAssist AI Assistant",
|
59 |
description="""Welcome to the CannaAssist AI Assistant. This tool is designed to provide expert guidance on BioTrack and cannabis regulations in New Mexico.""",
|
60 |
examples=[
|
61 |
-
["BioTrack", "How do I update inventory quantities in BioTrack?"]
|
62 |
-
["Regulations", "What are the legal requirements for cannabis labeling in New Mexico?"]
|
63 |
-
["Best Practices", "What are the recommended storage conditions for cannabis products?"]
|
64 |
-
["General Question", "Can you explain the difference between THC and CBD?"]
|
65 |
-
["BioTrack", "How can I add a new product to my inventory in BioTrack?"]
|
66 |
-
["Regulations", "Are there restrictions on advertising cannabis products in New Mexico?"]
|
67 |
-
["Best Practices", "What are the proper sanitation procedures for cannabis cultivation facilities?"]
|
68 |
-
["General Question", "What are the benefits of using BioTrack for cannabis businesses?"]
|
69 |
-
["BioTrack", "How do I generate sales reports in BioTrack?"]
|
70 |
-
["Regulations", "What are the requirements for obtaining a cannabis license in New Mexico?"]
|
71 |
-
["Best Practices", "What are the recommended harvesting techniques for cannabis plants?"]
|
72 |
-
["General Question", "Is medical cannabis legal in New Mexico?"]
|
73 |
-
["BioTrack", "How do I track plant growth stages in BioTrack?"]
|
74 |
-
["Regulations", "What are the packaging requirements for edible cannabis products?"]
|
75 |
-
["Best Practices", "How can I optimize indoor lighting for cannabis cultivation?"]
|
76 |
-
["General Question", "What is the difference between sativa and indica cannabis strains?"]
|
77 |
-
["BioTrack", "Can BioTrack integrate with other software systems?"]
|
78 |
-
["Regulations", "Are there specific security requirements for cannabis dispensaries in New Mexico?"]
|
79 |
-
["Best Practices", "What are the recommended nutrient solutions for hydroponic cannabis cultivation?"]
|
80 |
-
["General Question", "How does cannabis consumption affect the body?"]
|
81 |
-
["BioTrack", "How do I reconcile inventory discrepancies in BioTrack?"]
|
82 |
-
["Regulations", "Are there restrictions on cannabis advertising near schools in New Mexico?"]
|
83 |
-
["Best Practices", "What are the steps for cloning cannabis plants?"]
|
84 |
-
["General Question", "What are the potential side effects of using medical cannabis?"]
|
85 |
-
["BioTrack", "How do I create purchase orders in BioTrack?"]
|
86 |
-
["Regulations", "Can I legally grow cannabis for personal use in New Mexico?"]
|
87 |
-
["Best Practices", "What are the recommended temperature and humidity levels for cannabis drying?"]
|
88 |
-
["General Question", "Is it possible to overdose on cannabis?"]
|
89 |
-
["BioTrack", "How do I handle product returns and exchanges in BioTrack?"]
|
90 |
-
["Regulations", "What are the testing requirements for cannabis products in New Mexico?"]
|
91 |
-
["Best Practices", "How often should I water my cannabis plants?"]
|
92 |
-
["General Question", "Can cannabis be used to treat specific medical conditions?"]
|
93 |
-
["BioTrack", "How do I manage multiple locations in BioTrack?"]
|
94 |
-
["Regulations", "Are there limitations on the THC potency of cannabis products in New Mexico?"]
|
95 |
-
["Best Practices", "What are the recommended pest control methods for cannabis cultivation?"]
|
96 |
-
["General Question", "What is the legal age for purchasing cannabis in New Mexico?"]
|
97 |
-
["BioTrack", "How do I track employee sales activities in BioTrack?"]
|
98 |
-
["Regulations", "Are there zoning restrictions for cannabis businesses in New Mexico?"]
|
99 |
-
["Best Practices", "What are the best pruning techniques for cannabis plants?"]
|
100 |
-
["General Question", "Can cannabis be used as a substitute for prescription medications?"]
|
101 |
-
["BioTrack", "How do I perform inventory audits in BioTrack?"]
|
102 |
-
["Regulations", "What are the transportation requirements for cannabis products in New Mexico?"]
|
103 |
-
["Best Practices", "How do I prevent and control mold in cannabis cultivation facilities?"]
|
104 |
-
["General Question", "What are the different consumption methods for cannabis?"]
|
105 |
-
["BioTrack", "How do I manage customer loyalty programs in BioTrack?"]
|
106 |
-
["Regulations", "Are there restrictions on cannabis consumption in public places in New Mexico?"]
|
107 |
-
["Best Practices", "What are the recommended techniques for cannabis plant training?"]
|
108 |
-
["General Question", "Can I travel with cannabis within New Mexico?"]
|
109 |
-
["BioTrack", "How do I handle product recalls in BioTrack?"]
|
110 |
-
["Regulations", "What are the record-keeping requirements for cannabis businesses in New Mexico?"]
|
111 |
], # List of example inputs
|
112 |
theme=gr.themes.Monochrome(),
|
113 |
examples_per_page=5,
|
@@ -131,4 +131,4 @@ iface = gr.Interface(
|
|
131 |
)
|
132 |
|
133 |
# Launch the interface with authentication
|
134 |
-
iface.launch(auth_message="WARNING:
|
|
|
58 |
title="CannaAssist AI Assistant",
|
59 |
description="""Welcome to the CannaAssist AI Assistant. This tool is designed to provide expert guidance on BioTrack and cannabis regulations in New Mexico.""",
|
60 |
examples=[
|
61 |
+
["BioTrack", "How do I update inventory quantities in BioTrack?"],
|
62 |
+
["Regulations", "What are the legal requirements for cannabis labeling in New Mexico?"],
|
63 |
+
["Best Practices", "What are the recommended storage conditions for cannabis products?"],
|
64 |
+
["General Question", "Can you explain the difference between THC and CBD?"],
|
65 |
+
["BioTrack", "How can I add a new product to my inventory in BioTrack?"],
|
66 |
+
["Regulations", "Are there restrictions on advertising cannabis products in New Mexico?"],
|
67 |
+
["Best Practices", "What are the proper sanitation procedures for cannabis cultivation facilities?"],
|
68 |
+
["General Question", "What are the benefits of using BioTrack for cannabis businesses?"],
|
69 |
+
["BioTrack", "How do I generate sales reports in BioTrack?"],
|
70 |
+
["Regulations", "What are the requirements for obtaining a cannabis license in New Mexico?"],
|
71 |
+
["Best Practices", "What are the recommended harvesting techniques for cannabis plants?"],
|
72 |
+
["General Question", "Is medical cannabis legal in New Mexico?"],
|
73 |
+
["BioTrack", "How do I track plant growth stages in BioTrack?"],
|
74 |
+
["Regulations", "What are the packaging requirements for edible cannabis products?"],
|
75 |
+
["Best Practices", "How can I optimize indoor lighting for cannabis cultivation?"],
|
76 |
+
["General Question", "What is the difference between sativa and indica cannabis strains?"],
|
77 |
+
["BioTrack", "Can BioTrack integrate with other software systems?"],
|
78 |
+
["Regulations", "Are there specific security requirements for cannabis dispensaries in New Mexico?"],
|
79 |
+
["Best Practices", "What are the recommended nutrient solutions for hydroponic cannabis cultivation?"],
|
80 |
+
["General Question", "How does cannabis consumption affect the body?"],
|
81 |
+
["BioTrack", "How do I reconcile inventory discrepancies in BioTrack?"],
|
82 |
+
["Regulations", "Are there restrictions on cannabis advertising near schools in New Mexico?"],
|
83 |
+
["Best Practices", "What are the steps for cloning cannabis plants?"],
|
84 |
+
["General Question", "What are the potential side effects of using medical cannabis?"],
|
85 |
+
["BioTrack", "How do I create purchase orders in BioTrack?"],
|
86 |
+
["Regulations", "Can I legally grow cannabis for personal use in New Mexico?"],
|
87 |
+
["Best Practices", "What are the recommended temperature and humidity levels for cannabis drying?"],
|
88 |
+
["General Question", "Is it possible to overdose on cannabis?"],
|
89 |
+
["BioTrack", "How do I handle product returns and exchanges in BioTrack?"],
|
90 |
+
["Regulations", "What are the testing requirements for cannabis products in New Mexico?"],
|
91 |
+
["Best Practices", "How often should I water my cannabis plants?"],
|
92 |
+
["General Question", "Can cannabis be used to treat specific medical conditions?"],
|
93 |
+
["BioTrack", "How do I manage multiple locations in BioTrack?"],
|
94 |
+
["Regulations", "Are there limitations on the THC potency of cannabis products in New Mexico?"],
|
95 |
+
["Best Practices", "What are the recommended pest control methods for cannabis cultivation?"],
|
96 |
+
["General Question", "What is the legal age for purchasing cannabis in New Mexico?"],
|
97 |
+
["BioTrack", "How do I track employee sales activities in BioTrack?"],
|
98 |
+
["Regulations", "Are there zoning restrictions for cannabis businesses in New Mexico?"],
|
99 |
+
["Best Practices", "What are the best pruning techniques for cannabis plants?"],
|
100 |
+
["General Question", "Can cannabis be used as a substitute for prescription medications?"],
|
101 |
+
["BioTrack", "How do I perform inventory audits in BioTrack?"],
|
102 |
+
["Regulations", "What are the transportation requirements for cannabis products in New Mexico?"],
|
103 |
+
["Best Practices", "How do I prevent and control mold in cannabis cultivation facilities?"],
|
104 |
+
["General Question", "What are the different consumption methods for cannabis?"],
|
105 |
+
["BioTrack", "How do I manage customer loyalty programs in BioTrack?"],
|
106 |
+
["Regulations", "Are there restrictions on cannabis consumption in public places in New Mexico?"],
|
107 |
+
["Best Practices", "What are the recommended techniques for cannabis plant training?"],
|
108 |
+
["General Question", "Can I travel with cannabis within New Mexico?"],
|
109 |
+
["BioTrack", "How do I handle product recalls in BioTrack?"],
|
110 |
+
["Regulations", "What are the record-keeping requirements for cannabis businesses in New Mexico?"],
|
111 |
], # List of example inputs
|
112 |
theme=gr.themes.Monochrome(),
|
113 |
examples_per_page=5,
|
|
|
131 |
)
|
132 |
|
133 |
# Launch the interface with authentication
|
134 |
+
iface.launch(auth_message="WARNING: UNAUTHORIZED ACCESS OR USE IS STRICTLY PROHIBITED!",auth=check_auth)
|