Ivan Roman commited on
Commit
6e9cf1f
·
1 Parent(s): f2d8bf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -6
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="text",
23
- title="BioTrack AI Assistant",
24
- description="This is a BioTrack AI Assistant. You can ask any questions related to BioTrack and cannabis regulations in New Mexico.",
25
  examples=[
26
- ["What is BioTrack?"],
27
- ["Tell me about cannabis regulations in New Mexico."]
 
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
+