calmgoose commited on
Commit
0878e1b
Β·
1 Parent(s): 3de41a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -116,13 +116,16 @@ st.title("Talk2Book: 1984")
116
  st.markdown("#### Have a conversaion with 1984 by George Orwell πŸ™Š")
117
 
118
  with st.sidebar:
119
- api_key = st.text_input(label = "Paste your OpenAI API key here to get started", type = "password")
 
 
 
120
  os.environ["OPENAI_API_KEY"] = api_key
121
  st.info("This isn't saved πŸ™ˆ")
122
 
123
  st.markdown("---")
124
 
125
- st.write("Based on [Talk2Book](https://github.com/batmanscode/Talk2Book)")
126
 
127
  # streamlit-chat not working
128
  # i get this error: https://discuss.streamlit.io/t/your-app-is-having-trouble-loading-the-xxx-component/25046
 
116
  st.markdown("#### Have a conversaion with 1984 by George Orwell πŸ™Š")
117
 
118
  with st.sidebar:
119
+ api_key = st.text_input(label = "Paste your OpenAI API key here to get started",
120
+ type = "password",
121
+ help = "This isn't saved πŸ™ˆ"
122
+ )
123
  os.environ["OPENAI_API_KEY"] = api_key
124
  st.info("This isn't saved πŸ™ˆ")
125
 
126
  st.markdown("---")
127
 
128
+ st.info("Based on [Talk2Book](https://github.com/batmanscode/Talk2Book)")
129
 
130
  # streamlit-chat not working
131
  # i get this error: https://discuss.streamlit.io/t/your-app-is-having-trouble-loading-the-xxx-component/25046