Spaces:
Sleeping
Sleeping
Rename app (1).py to app.py
Browse files- app (1).py → app.py +2 -1
app (1).py → app.py
RENAMED
@@ -10,7 +10,8 @@ import matplotlib.patches as patches
|
|
10 |
import streamlit as st
|
11 |
from openai import OpenAI
|
12 |
# Set your API key and instantiate the client (make sure your OpenAI client is imported/defined)
|
13 |
-
|
|
|
14 |
client = OpenAI() # Assumes you have an OpenAI client available
|
15 |
|
16 |
# The prompt used to instruct the model
|
|
|
10 |
import streamlit as st
|
11 |
from openai import OpenAI
|
12 |
# Set your API key and instantiate the client (make sure your OpenAI client is imported/defined)
|
13 |
+
from dotenv import load_dotenv
|
14 |
+
load_dotenv()
|
15 |
client = OpenAI() # Assumes you have an OpenAI client available
|
16 |
|
17 |
# The prompt used to instruct the model
|