calmgoose commited on
Commit
f53ad1d
·
1 Parent(s): 041c558

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -130,8 +130,8 @@ with st.sidebar:
130
  ["1984 - George Orwell", "The Almanac of Naval Ravikant - Eric Jorgenson"]
131
  )
132
  # update st.empty() variables from earlier
133
- BOOK_NAME.text = book.split("-")[0][:-1] # "1984 - George Orwell" -> "1984"
134
- AUTHOR_NAME.text = book.split("-")[1][1:] # "1984 - George Orwell" -> "George Orwell"
135
 
136
  api_key = st.text_input(label = "Paste your OpenAI API key here to get started",
137
  type = "password",
 
130
  ["1984 - George Orwell", "The Almanac of Naval Ravikant - Eric Jorgenson"]
131
  )
132
  # update st.empty() variables from earlier
133
+ BOOK_NAME.text(book.split("-")[0][:-1]) # "1984 - George Orwell" -> "1984"
134
+ AUTHOR_NAME.text(book.split("-")[1][1:]) # "1984 - George Orwell" -> "George Orwell"
135
 
136
  api_key = st.text_input(label = "Paste your OpenAI API key here to get started",
137
  type = "password",