Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ st.set_page_config(page_title="Talk2Book", page_icon="π")
|
|
| 14 |
|
| 15 |
#### sidebar section 1 ####
|
| 16 |
with st.sidebar:
|
| 17 |
-
book = st.radio("Choose book: ",
|
| 18 |
["1984 - George Orwell", "The Almanac of Naval Ravikant - Eric Jorgenson"]
|
| 19 |
)
|
| 20 |
|
|
@@ -133,7 +133,7 @@ def get_answer(question):
|
|
| 133 |
|
| 134 |
##### sidebar section 2 ####
|
| 135 |
with st.sidebar:
|
| 136 |
-
api_key = st.text_input(label = "
|
| 137 |
type = "password",
|
| 138 |
help = "This isn't saved π"
|
| 139 |
)
|
|
|
|
| 14 |
|
| 15 |
#### sidebar section 1 ####
|
| 16 |
with st.sidebar:
|
| 17 |
+
book = st.radio("Choose a book: ",
|
| 18 |
["1984 - George Orwell", "The Almanac of Naval Ravikant - Eric Jorgenson"]
|
| 19 |
)
|
| 20 |
|
|
|
|
| 133 |
|
| 134 |
##### sidebar section 2 ####
|
| 135 |
with st.sidebar:
|
| 136 |
+
api_key = st.text_input(label = "And paste your OpenAI API key here to get started",
|
| 137 |
type = "password",
|
| 138 |
help = "This isn't saved π"
|
| 139 |
)
|