Spaces:
Runtime error
Runtime error
Ivan Roman
commited on
Commit
·
6e9cf1f
1
Parent(s):
f2d8bf0
Update app.py
Browse files
app.py
CHANGED
@@ -18,15 +18,17 @@ def CustomChatGPT(user_input):
|
|
18 |
|
19 |
iface = gr.Interface(
|
20 |
fn=CustomChatGPT,
|
21 |
-
inputs=gr.inputs.Textbox(lines=5, placeholder='Type here...'),
|
22 |
-
outputs=
|
23 |
-
title="
|
24 |
-
description="
|
25 |
examples=[
|
26 |
-
["
|
27 |
-
["
|
|
|
28 |
],
|
29 |
theme="huggingface"
|
30 |
)
|
31 |
|
32 |
iface.launch()
|
|
|
|
18 |
|
19 |
iface = gr.Interface(
|
20 |
fn=CustomChatGPT,
|
21 |
+
inputs=gr.inputs.Textbox(lines=5, placeholder='Type here...', label='Your Question'),
|
22 |
+
outputs=gr.outputs.Textbox(label='AI Response'),
|
23 |
+
title="CannaAssist AI Assistant",
|
24 |
+
description="Welcome to the CannaAssist AI Assistant. This tool is designed to provide expert guidance on BioTrack and cannabis regulations in New Mexico. Feel free to ask any questions related to these topics. DISCLAIMER: This is a proof of concept and not an official product.",
|
25 |
examples=[
|
26 |
+
["How to add wholesale flower into my inventory?"],
|
27 |
+
["How to check in a customer?"],
|
28 |
+
["How to generate a manifest?"]
|
29 |
],
|
30 |
theme="huggingface"
|
31 |
)
|
32 |
|
33 |
iface.launch()
|
34 |
+
|