Spaces:
Running
Running
fixed misplaced warning
Browse files
app.py
CHANGED
@@ -23,9 +23,9 @@ st.write("Data Avaliable: ", DATA_AVAL)
|
|
23 |
|
24 |
user_question: str = st.text_area("Enter your groovy questions here")
|
25 |
access_key: str = st.text_input("Enter your gpt key here", type="password")
|
26 |
-
st.markdown("*For more information about how to get an access key, read [this article](https://platform.openai.com/api-keys)
|
27 |
gpt_type: str = st.selectbox(label="Choose GPT Type", options=["gpt-3.5-turbo", "gpt-3.5-turbo-1106", "gpt-3.5-turbo-0125", "gpt-4-32k-0613", "gpt-4-0613", "gpt-4-0125-preview"], index=0)
|
28 |
-
st.markdown("*For more information about GPT types, read [this article](https://platform.openai.com/docs/models)
|
29 |
|
30 |
if st.button('Query Database') & (access_key != "") & (user_question != ""):
|
31 |
openai_client = OpenAI(api_key=access_key)
|
|
|
23 |
|
24 |
user_question: str = st.text_area("Enter your groovy questions here")
|
25 |
access_key: str = st.text_input("Enter your gpt key here", type="password")
|
26 |
+
st.markdown("*For more information about how to get an access key, read [this article](https://platform.openai.com/api-keys). Make sure it has money in it ☠️*", unsafe_allow_html=True)
|
27 |
gpt_type: str = st.selectbox(label="Choose GPT Type", options=["gpt-3.5-turbo", "gpt-3.5-turbo-1106", "gpt-3.5-turbo-0125", "gpt-4-32k-0613", "gpt-4-0613", "gpt-4-0125-preview"], index=0)
|
28 |
+
st.markdown("*For more information about GPT types, read [this article](https://platform.openai.com/docs/models).*", unsafe_allow_html=True)
|
29 |
|
30 |
if st.button('Query Database') & (access_key != "") & (user_question != ""):
|
31 |
openai_client = OpenAI(api_key=access_key)
|