Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ import streamlit as st
|
|
4 |
|
5 |
|
6 |
# Set up OpenAI API key
|
7 |
-
openai.api_key = os.getenv("API_KEY")
|
8 |
-
|
9 |
# Load context from file
|
10 |
with open("RamsayPersonality_V1.txt", "r") as file:
|
11 |
context = file.read()
|
|
|
4 |
|
5 |
|
6 |
# Set up OpenAI API key
|
7 |
+
openai.api_key = str(os.getenv("API_KEY"))
|
8 |
+
|
9 |
# Load context from file
|
10 |
with open("RamsayPersonality_V1.txt", "r") as file:
|
11 |
context = file.read()
|