Spaces:
Sleeping
Sleeping
Update app.py
Browse files189 unmodified lines190191192193194194195196197198199200195196197198199200201201202203204205206207189 unmodified lines
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(""" 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) 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. """) 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") if submit:app.py+9-8