Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
""" Simple Chatbot
|
2 |
-
|
3 |
-
|
4 |
|
5 |
"""
|
6 |
|
@@ -85,7 +85,7 @@ models =[key for key in model_links.keys()]
|
|
85 |
selected_model = st.sidebar.selectbox("Select Model", models)
|
86 |
|
87 |
#Create a temperature slider
|
88 |
-
temp_values = st.sidebar.slider('Select a temperature value', 0.0, 1.0, (0.
|
89 |
|
90 |
|
91 |
#Add reset button to clear conversation
|
@@ -93,10 +93,10 @@ st.sidebar.button('Reset Chat', on_click=reset_conversation) #Reset button
|
|
93 |
|
94 |
|
95 |
# Create model description
|
96 |
-
st.sidebar.write(f"You're now chatting with **{selected_model}**")
|
97 |
-
st.sidebar.markdown(model_info[selected_model]['description'])
|
98 |
-
st.sidebar.image(model_info[selected_model]['logo'])
|
99 |
-
st.sidebar.markdown("*Generated content may be inaccurate or false.*")
|
100 |
|
101 |
|
102 |
|
|
|
1 |
""" Simple Chatbot
|
2 |
+
Y.Steiner : March 2024
|
3 |
+
|
4 |
|
5 |
"""
|
6 |
|
|
|
85 |
selected_model = st.sidebar.selectbox("Select Model", models)
|
86 |
|
87 |
#Create a temperature slider
|
88 |
+
temp_values = st.sidebar.slider('Select a temperature value', 0.0, 1.0, (0.1))
|
89 |
|
90 |
|
91 |
#Add reset button to clear conversation
|
|
|
93 |
|
94 |
|
95 |
# Create model description
|
96 |
+
# st.sidebar.write(f"You're now chatting with **{selected_model}**")
|
97 |
+
# st.sidebar.markdown(model_info[selected_model]['description'])
|
98 |
+
# st.sidebar.image(model_info[selected_model]['logo'])
|
99 |
+
# st.sidebar.markdown("*Generated content may be inaccurate or false.*")
|
100 |
|
101 |
|
102 |
|