CannaTech commited on
Commit
7d46ecc
·
1 Parent(s): 1049252

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -33,13 +33,14 @@ def check_auth(username, password):
33
 
34
  return False
35
 
 
 
36
  iface = gr.Interface(
37
  fn=CustomChatGPT,
38
  inputs=[gr.inputs.Dropdown(choices=['BioTrack', 'Regulations', 'Best Practices', 'General Question'], label='Category'), gr.inputs.Textbox(lines=1, placeholder='Type here...', label='Your Question')],
39
  outputs=gr.outputs.Textbox(label='AI Response'),
40
  title="CannaAssist AI Assistant",
41
- description="""Welcome to the CannaAssist AI Assistant. This tool is designed to provide expert guidance on BioTrack and cannabis regulations in New Mexico.
42
- WARNING: UNAUTHORIZED ACCESS OR USE OF THIS CLOSED BETA IS STRICTLY PROHIBITED""",
43
  examples=[
44
  ["BioTrack", "How do I update inventory quantities in BioTrack?"],
45
  ["BioTrack", "What is the process to transfer product between locations in BioTrack?"],
 
33
 
34
  return False
35
 
36
+ auth_message="WARNING: UNAUTHORIZED ACCESS OR USE OF THIS CLOSED BETA IS STRICTLY PROHIBITED",
37
+
38
  iface = gr.Interface(
39
  fn=CustomChatGPT,
40
  inputs=[gr.inputs.Dropdown(choices=['BioTrack', 'Regulations', 'Best Practices', 'General Question'], label='Category'), gr.inputs.Textbox(lines=1, placeholder='Type here...', label='Your Question')],
41
  outputs=gr.outputs.Textbox(label='AI Response'),
42
  title="CannaAssist AI Assistant",
43
+ description="""Welcome to the CannaAssist AI Assistant. This tool is designed to provide expert guidance on BioTrack and cannabis regulations in New Mexico.""",
 
44
  examples=[
45
  ["BioTrack", "How do I update inventory quantities in BioTrack?"],
46
  ["BioTrack", "What is the process to transfer product between locations in BioTrack?"],