Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ selected_key = None
|
|
50 |
# setup sidebar: models to choose from and API key input
|
51 |
with st.sidebar:
|
52 |
st.header("OpenAI Configuration")
|
53 |
-
selected_model = st.selectbox("Model", ['gpt-3.5-turbo', 'gpt-4-1106-preview'], index=1)
|
54 |
st.markdown("Press enter to save key")
|
55 |
st.markdown("For more information about the models, see [here](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo).")
|
56 |
selected_key = st.text_input("API Key", type="password")
|
|
|
50 |
# setup sidebar: models to choose from and API key input
|
51 |
with st.sidebar:
|
52 |
st.header("OpenAI Configuration")
|
53 |
+
selected_model = st.selectbox("Model", ['gpt-3.5-turbo', 'gpt-4-1106-preview', 'gpt-4-turbo-2024-04-09'], index=1)
|
54 |
st.markdown("Press enter to save key")
|
55 |
st.markdown("For more information about the models, see [here](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo).")
|
56 |
selected_key = st.text_input("API Key", type="password")
|