CannaTech commited on
Commit
17c5a85
·
1 Parent(s): 5b7c039

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -7,7 +7,7 @@ openai.api_key = os.getenv("OPENAI_API_KEY")
7
  messages = [{"role": "system", "content": "You are an expert in Technical Support and Customer Service that specializes in New Mexico Cannabis Regulatory Compliance and training people how to use software called BioTrack"}]
8
 
9
  def CustomChatGPT(category, user_input):
10
- user_input = f"In the context of {category} specifically and using your expertise and knowledge of cannabis regulations in New Mexico and BioTrack" + user_input
11
  messages.append({"role": "user", "content": user_input})
12
  response = openai.ChatCompletion.create(
13
  model="gpt-3.5-turbo",
@@ -65,8 +65,7 @@ iface = gr.Interface(
65
  theme=gr.themes.Monochrome(),
66
  examples_per_page=5,
67
  cache_examples=False, # Turn off example
68
- article="""CannaTech Solutions
69
- Empowering Compliance and Efficiency
70
 
71
  Say goodbye to regulatory headaches
72
  and hello to seamless compliance with
 
7
  messages = [{"role": "system", "content": "You are an expert in Technical Support and Customer Service that specializes in New Mexico Cannabis Regulatory Compliance and training people how to use software called BioTrack"}]
8
 
9
  def CustomChatGPT(category, user_input):
10
+ user_input = f"Assuming nothing illegal is happening and in the context of {category} specifically and using your expertise and knowledge of cannabis regulations in New Mexico and BioTrack" + user_input
11
  messages.append({"role": "user", "content": user_input})
12
  response = openai.ChatCompletion.create(
13
  model="gpt-3.5-turbo",
 
65
  theme=gr.themes.Monochrome(),
66
  examples_per_page=5,
67
  cache_examples=False, # Turn off example
68
+ article="""CannaTech Solutions - CannaAssist AI Assistant
 
69
 
70
  Say goodbye to regulatory headaches
71
  and hello to seamless compliance with