joeli88 commited on
Commit
59c296e
1 Parent(s): be9691b

Update app.py

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