KeshavRa commited on
Commit
8234409
·
verified ·
1 Parent(s): e837c56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
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.write("1. Upload your PDFs here")
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.write("2. Enter your OpenAI API key")
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("""