joeli88 commited on
Commit
28c4f5d
1 Parent(s): 5fd4aa1

Update app.py

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