CannaTech commited on
Commit
3ca9ea5
·
1 Parent(s): bda6f37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
 
1
  import openai
2
  import gradio as gr
3
 
4
- openai.api_key = "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"
5
 
6
  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"}]
7
 
 
1
+ import os
2
  import openai
3
  import gradio as gr
4
 
5
+ openai.api_key = os.getenv("OPENAI_API_KEY")
6
 
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