Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -190,17 +190,18 @@ if selected_app == "2) Create CSVs":
|
|
| 190 |
|
| 191 |
st.write("2. Enter your OpenAI API key")
|
| 192 |
with st.expander("Explain"):
|
|
|
|
| 193 |
st.markdown("""
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
6. In the top right, click 'Create new secret key' and save the key to a secure place (you won't have access later)
|
| 201 |
-
If you're a nonprofit in need of funding, reach out to me at keshavrangan2007@gmail.com to request a key.
|
| 202 |
""")
|
|
|
|
| 203 |
openai_api_key = st.text_input("", type="password")
|
|
|
|
| 204 |
|
| 205 |
submit = st.button("Submit")
|
| 206 |
if submit:
|
|
|
|
| 190 |
|
| 191 |
st.write("2. Enter your OpenAI API key")
|
| 192 |
with st.expander("Explain"):
|
| 193 |
+
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:")
|
| 194 |
st.markdown("""
|
| 195 |
+
1. Go to [OpenAI](https://openai.com/) --> Products --> API --> API Login.
|
| 196 |
+
2. Log in with Google, then click 'API'.
|
| 197 |
+
3. In the top right, click Settings, then Billing.
|
| 198 |
+
4. Add payment details and add money to the account (evan a small investment lasts a long time).
|
| 199 |
+
5. Click Dashboard in the top right, then API keys on the left sidebar.
|
| 200 |
+
6. In the top right, click 'Create new secret key' and save the key to a secure place (you won't have access later)
|
|
|
|
|
|
|
| 201 |
""")
|
| 202 |
+
st.write("If you're a nonprofit in need of funding, reach out to me at keshavrangan2007@gmail.com to request a key.")
|
| 203 |
openai_api_key = st.text_input("", type="password")
|
| 204 |
+
st.divider()
|
| 205 |
|
| 206 |
submit = st.button("Submit")
|
| 207 |
if submit:
|