Lokesh1024 commited on
Commit
552ee35
·
verified ·
1 Parent(s): 46f5e4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -1,14 +1,11 @@
1
  import os
2
- from dotenv import load_dotenv
3
  import openai
4
  import streamlit as st
5
 
6
- # Load environment variables from .env file
7
- load_dotenv()
8
 
9
  # Set up OpenAI API key
10
  openai.api_key = os.getenv("API_KEY")
11
-
12
  # Load context from file
13
  with open("RamsayPersonality_V1.txt", "r") as file:
14
  context = file.read()
 
1
  import os
 
2
  import openai
3
  import streamlit as st
4
 
 
 
5
 
6
  # Set up OpenAI API key
7
  openai.api_key = os.getenv("API_KEY")
8
+ print(os.getenv("API_KEY"))
9
  # Load context from file
10
  with open("RamsayPersonality_V1.txt", "r") as file:
11
  context = file.read()