Spaces:
Build error
Build error
Update components/chat.py
Browse files- components/chat.py +1 -5
components/chat.py
CHANGED
|
@@ -1,10 +1,9 @@
|
|
| 1 |
-
|
| 2 |
# components/chat.py
|
| 3 |
import streamlit as st
|
| 4 |
from langchain_core.messages import HumanMessage, AIMessage
|
| 5 |
|
| 6 |
def display_chat_interface():
|
| 7 |
-
|
| 8 |
st.markdown("### 💬 RFP Analysis Chat")
|
| 9 |
|
| 10 |
# Initialize chat history if not exists
|
|
@@ -41,6 +40,3 @@ def display_chat_interface():
|
|
| 41 |
st.error(f"Error generating response: {e}")
|
| 42 |
import traceback
|
| 43 |
st.error(f"Detailed error: {traceback.format_exc()}")
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
|
| 1 |
# components/chat.py
|
| 2 |
import streamlit as st
|
| 3 |
from langchain_core.messages import HumanMessage, AIMessage
|
| 4 |
|
| 5 |
def display_chat_interface():
|
| 6 |
+
"""Display chat interface component"""
|
| 7 |
st.markdown("### 💬 RFP Analysis Chat")
|
| 8 |
|
| 9 |
# Initialize chat history if not exists
|
|
|
|
| 40 |
st.error(f"Error generating response: {e}")
|
| 41 |
import traceback
|
| 42 |
st.error(f"Detailed error: {traceback.format_exc()}")
|
|
|
|
|
|
|
|
|