Spaces:
Sleeping
Sleeping
Update app.py
Browse files182 unmodified lines1831841851861871881891901911921931945 unmodified lines200201202203204205206182 unmodified linesst.divider()st.write("1. Upload your PDFs here")with st.expander("Explain"):st.write("You can upload more than one PDF at a time, but don't do too many at once.")uploaded_files = st.file_uploader("", type="pdf", accept_multiple_files=True)st.divider()st.write("2. Enter your OpenAI API key")with st.expander("Explain"):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:")st.markdown("""5 unmodified lines6. In the top right, click 'Create new secret key' and save the key to a secure place (you won't have access later)""")st.write("If you're a nonprofit in need of funding, reach out to me at keshavrangan2007@gmail.com to request a key.")openai_api_key = st.text_input("", type="password")st.divider()submit = st.button("Submit")182 unmodified lines1831841851861871881891901911921931941955 unmodified lines201202203204205206182 unmodified linesst.divider()st.write("1. Upload your PDFs here")uploaded_files = st.file_uploader("", type="pdf", accept_multiple_files=True)with st.expander("Explain"):st.write("You can upload more than one PDF at a time, but don't do too many at once.")st.divider()st.write("2. Enter your OpenAI API key")openai_api_key = st.text_input("", type="password")with st.expander("Explain"):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:")st.markdown("""5 unmodified lines6. In the top right, click 'Create new secret key' and save the key to a secure place (you won't have access later)""")st.write("If you're a nonprofit in need of funding, reach out to me at keshavrangan2007@gmail.com to request a key.")st.divider()submit = st.button("Submit")
app.py+2-2