Skip to content

Commit

Permalink
Update royal_game_5.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Hutchinson committed Jun 9, 2023
1 parent cd04a9f commit e184c88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions royal_game_5.py
Expand Up @@ -2,6 +2,7 @@
import streamlit.components.v1 as components
from streamlit_extras.colored_header import colored_header
from streamlit_extras.add_vertical_space import add_vertical_space
from streamlit_extras.app_logo import add_logo
from streamlit_chat import message
import streamlit_authenticator as stauth
from langchain import OpenAI, ConversationChain, LLMChain, PromptTemplate
Expand Down Expand Up @@ -32,6 +33,7 @@
import random

st.set_page_config(layout="wide")
add_logo("http://placekitten.com/120/120")

os.environ["OPENAI_API_KEY"] = st.secrets["openai_api_key"]
openai.api_key = os.getenv("OPENAI_API_KEY")
Expand Down

0 comments on commit e184c88

Please sign in to comment.