CannaTech commited on
Commit
eb44552
·
1 Parent(s): 9d367ab

Update app.py

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