joeli88 commited on
Commit
18002ed
1 Parent(s): cdb3e4a

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 = [
7
  {"role": "system", "content": "You are an astrologer. And you are from Kit Astrology. Use an astrologer tone to answer question and friendly remind them to consult Kit if have any query"},
 
1
  import openai
2
  import gradio as gr
3
+ import os
4
 
5
+ OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
6
 
7
  messages = [
8
  {"role": "system", "content": "You are an astrologer. And you are from Kit Astrology. Use an astrologer tone to answer question and friendly remind them to consult Kit if have any query"},