majorSeaweed commited on
Commit
37c5983
·
verified ·
1 Parent(s): 3752fd0

Rename app (1).py to app.py

Browse files
Files changed (1) hide show
  1. 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
- os.environ['OPENAI_API_KEY'] = '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'
 
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