Spaces:
Sleeping
Sleeping
Update app.py
Browse files186 unmodified lines187188189190191192193194186 unmodified linesst.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()openai_api_key = st.text_input("Enter your OpenAI API key", type="password")submit = st.button("Submit")if submit:186 unmodified lines187188189190191192193194195196197198199200201202203204205206186 unmodified linesst.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.markdown("""Your OpenAI API key allows you to use ChatGPT, the basis of your chatbot. Don't have one? Here's how to get one:1. Go to [OpenAI](https://openai.com/) --> Products --> API --> API Login.2. Log in with Google, then click 'API'.3. In the top right, click Settings, then Billing.4. Add payment details and add money to the account (evan a small investment lasts a long time).5. Click Dashboard in the top right, then API keys on the left sidebar.6. In the top right, click 'Create new secret key' and save the key to a secure place (you won't have access later)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")submit = st.button("Submit")if submit:
app.py+14-2