Spaces:
Sleeping
Sleeping
pantadeusz
commited on
Commit
·
8cd3ee4
1
Parent(s):
60a8435
small tweaks
Browse files
app.py
CHANGED
|
@@ -52,25 +52,25 @@ if "starter_message" not in st.session_state:
|
|
| 52 |
with st.sidebar:
|
| 53 |
st.header("System Settings")
|
| 54 |
|
| 55 |
-
# AI Settings
|
| 56 |
-
st.session_state.system_message = st.text_input(
|
| 57 |
-
|
| 58 |
-
)
|
| 59 |
-
st.session_state.starter_message = st.text_area(
|
| 60 |
-
|
| 61 |
-
)
|
| 62 |
-
|
| 63 |
-
# Model Settings
|
| 64 |
-
st.session_state.max_response_length = st.number_input(
|
| 65 |
-
|
| 66 |
-
)
|
| 67 |
|
| 68 |
# Avatar Selection
|
| 69 |
st.markdown("*Select Avatars:*")
|
| 70 |
col1, col2 = st.columns(2)
|
| 71 |
with col1:
|
| 72 |
st.session_state.avatars['assistant'] = st.selectbox(
|
| 73 |
-
"AI Avatar", options=["🤗", "💬", "🤖"], index=0
|
| 74 |
)
|
| 75 |
with col2:
|
| 76 |
st.session_state.avatars['user'] = st.selectbox(
|
|
|
|
| 52 |
with st.sidebar:
|
| 53 |
st.header("System Settings")
|
| 54 |
|
| 55 |
+
# # AI Settings
|
| 56 |
+
# st.session_state.system_message = st.text_input(
|
| 57 |
+
# "System Message", value="rude AI conversing with a human user"
|
| 58 |
+
# )
|
| 59 |
+
# st.session_state.starter_message = st.text_area(
|
| 60 |
+
# 'First AI Message', value="What"
|
| 61 |
+
# )
|
| 62 |
+
|
| 63 |
+
# # Model Settings
|
| 64 |
+
# st.session_state.max_response_length = st.number_input(
|
| 65 |
+
# "Max Response Length", value=128
|
| 66 |
+
# )
|
| 67 |
|
| 68 |
# Avatar Selection
|
| 69 |
st.markdown("*Select Avatars:*")
|
| 70 |
col1, col2 = st.columns(2)
|
| 71 |
with col1:
|
| 72 |
st.session_state.avatars['assistant'] = st.selectbox(
|
| 73 |
+
"AI Avatar", options=["👺", "🤗", "💬", "🤖"], index=0
|
| 74 |
)
|
| 75 |
with col2:
|
| 76 |
st.session_state.avatars['user'] = st.selectbox(
|