mikeee commited on
Commit
61c6017
·
1 Parent(s): a8c15fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -183,6 +183,7 @@ if ask:
183
  st.write(f"**{BOOK_NAME}:** got {dice}, no luck, try again?")
184
  st.stop()
185
  else:
 
186
  os.environ["OPENAI_API_KEY"] = api_key_
187
  # if ns.counter: # this does not work
188
  if 'key' in st.session_state:
 
183
  st.write(f"**{BOOK_NAME}:** got {dice}, no luck, try again?")
184
  st.stop()
185
  else:
186
+ st.write(f"**{BOOK_NAME}:** got {dice}, lucky you!")
187
  os.environ["OPENAI_API_KEY"] = api_key_
188
  # if ns.counter: # this does not work
189
  if 'key' in st.session_state: