Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -182,14 +182,12 @@ if selected_app == "2) Create CSVs":
|
|
| 182 |
st.markdown("### On this page, you'll convert your text into potential questions that your chatbot may be asked and their corresponding answers.")
|
| 183 |
st.divider()
|
| 184 |
|
| 185 |
-
st.
|
| 186 |
-
uploaded_files = st.file_uploader("", type="pdf", accept_multiple_files=True)
|
| 187 |
with st.expander("Explain"):
|
| 188 |
st.write("You can upload more than one PDF at a time, but don't do too many at once.")
|
| 189 |
st.divider()
|
| 190 |
|
| 191 |
-
st.
|
| 192 |
-
openai_api_key = st.text_input("", type="password")
|
| 193 |
with st.expander("Explain"):
|
| 194 |
st.write("Your OpenAI API key allows you to use ChatGPT, the basis of your chatbot. Don't have one? Here's how to get one:")
|
| 195 |
st.markdown("""
|
|
|
|
| 182 |
st.markdown("### On this page, you'll convert your text into potential questions that your chatbot may be asked and their corresponding answers.")
|
| 183 |
st.divider()
|
| 184 |
|
| 185 |
+
uploaded_files = st.file_uploader("1. Upload your PDFs here", type="pdf", accept_multiple_files=True)
|
|
|
|
| 186 |
with st.expander("Explain"):
|
| 187 |
st.write("You can upload more than one PDF at a time, but don't do too many at once.")
|
| 188 |
st.divider()
|
| 189 |
|
| 190 |
+
openai_api_key = st.text_input("2. Enter your OpenAI API key", type="password")
|
|
|
|
| 191 |
with st.expander("Explain"):
|
| 192 |
st.write("Your OpenAI API key allows you to use ChatGPT, the basis of your chatbot. Don't have one? Here's how to get one:")
|
| 193 |
st.markdown("""
|