Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
|
@@ -53,11 +53,6 @@ def main():
|
|
| 53 |
st.session_state.selected_task = selected_task
|
| 54 |
st.rerun()
|
| 55 |
|
| 56 |
-
# Clear chat history button
|
| 57 |
-
if st.button("Clear Chat History"):
|
| 58 |
-
st.session_state.messages = [] # Clear the chat history
|
| 59 |
-
st.success("Chat history cleared!")
|
| 60 |
-
|
| 61 |
# Main content area
|
| 62 |
# Initialize model with the selected configuration
|
| 63 |
model_name = st.session_state.selected_model
|
|
|
|
| 53 |
st.session_state.selected_task = selected_task
|
| 54 |
st.rerun()
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
# Main content area
|
| 57 |
# Initialize model with the selected configuration
|
| 58 |
model_name = st.session_state.selected_model
|