Spaces:
Runtime error
Runtime error
Commit
·
bac2538
1
Parent(s):
7a252d3
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ if "history" not in st.session_state:
|
|
10 |
|
11 |
st.sidebar.markdown("## Configuration")
|
12 |
KEY = st.sidebar.text_input("Enter Your OpenAI API Key", placeholder="API Key", value="")
|
13 |
-
models = ['text-davinci-003', 'text-curie-001', 'text-babbage-001', 'text-ada-001']
|
14 |
model = st.sidebar.selectbox("Select a model", models, index=0)
|
15 |
|
16 |
temperature = st.sidebar.slider("Temperature", 0.0, 1.0, 0.7)
|
|
|
10 |
|
11 |
st.sidebar.markdown("## Configuration")
|
12 |
KEY = st.sidebar.text_input("Enter Your OpenAI API Key", placeholder="API Key", value="")
|
13 |
+
models = ['text-davinci-003', 'text-curie-001', 'text-babbage-001', 'text-ada-001', 'gpt-3.5-turbo']
|
14 |
model = st.sidebar.selectbox("Select a model", models, index=0)
|
15 |
|
16 |
temperature = st.sidebar.slider("Temperature", 0.0, 1.0, 0.7)
|