Spaces:
Running
Running
lingyit1108
commited on
Commit
•
3557a96
1
Parent(s):
b034166
added streamlit-feedback deps
Browse files- requirements.txt +1 -0
- streamlit_app.py +2 -2
requirements.txt
CHANGED
@@ -209,6 +209,7 @@ streamlit-card==1.0.0
|
|
209 |
streamlit-embedcode==0.1.2
|
210 |
streamlit-extras==0.3.6
|
211 |
streamlit-faker==0.0.3
|
|
|
212 |
streamlit-image-coordinates==0.1.6
|
213 |
streamlit-keyup==0.2.2
|
214 |
streamlit-toggle-switch==1.0.2
|
|
|
209 |
streamlit-embedcode==0.1.2
|
210 |
streamlit-extras==0.3.6
|
211 |
streamlit-faker==0.0.3
|
212 |
+
streamlit-feedback==0.1.3
|
213 |
streamlit-image-coordinates==0.1.6
|
214 |
streamlit-keyup==0.2.2
|
215 |
streamlit-toggle-switch==1.0.2
|
streamlit_app.py
CHANGED
@@ -85,8 +85,8 @@ with st.sidebar:
|
|
85 |
selected_model = st.sidebar.selectbox("Choose an OpenAI model",
|
86 |
["gpt-3.5-turbo-1106", "gpt-4-1106-preview"],
|
87 |
key="selected_model")
|
88 |
-
temperature = st.sidebar.slider("temperature", min_value=0.
|
89 |
-
value=0.
|
90 |
st.data_editor(
|
91 |
data_df,
|
92 |
column_config={
|
|
|
85 |
selected_model = st.sidebar.selectbox("Choose an OpenAI model",
|
86 |
["gpt-3.5-turbo-1106", "gpt-4-1106-preview"],
|
87 |
key="selected_model")
|
88 |
+
temperature = st.sidebar.slider("temperature", min_value=0.0, max_value=2.0,
|
89 |
+
value=0.0, step=0.01)
|
90 |
st.data_editor(
|
91 |
data_df,
|
92 |
column_config={
|