Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import openai
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
5 |
-
|
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"},
|
|
|
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"},
|