Update app.py
Browse files41 unmodified lines42434445464748495041 unmodified linesload_dotenv()# inform the user that the api key is loadedif OPENAI_API_KEY is not None and OPENAI_API_KEY != "":st.write("OpenAI API key loaded")# inform user that the model being used is the turbo modelst.write("Using the gpt-3.5-turbo-0613 model from OpenAI")41 unmodified lines42434445464748495051525341 unmodified linesload_dotenv()# inform the user that the api key is loadedif os.getenv("OPENAI_API_KEY") is None or os.getenv("OPENAI_API_KEY") == "":print("OPENAI_API_KEY is not set")exit(1)else:print("OPENAI_API_KEY is set")# inform user that the model being used is the turbo modelst.write("Using the gpt-3.5-turbo-0613 model from OpenAI")
app.py+6-3