Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def main():
|
|
38 |
|
39 |
pages = {
|
40 |
"Lex Document Summarization": page_summarization,
|
41 |
-
"Chat with
|
42 |
"Chat with Uploaded Docs": page_chat_with_uploaded_docs
|
43 |
}
|
44 |
|
@@ -86,7 +86,7 @@ def page_summarization(uploaded_files):
|
|
86 |
|
87 |
def page_qna(uploaded_files):
|
88 |
"""Page for Q&A functionality."""
|
89 |
-
st.title("Chat with
|
90 |
user_query = st.text_area("Enter your question here:", height=300)
|
91 |
if st.button('Get Answer'):
|
92 |
if user_query:
|
|
|
38 |
|
39 |
pages = {
|
40 |
"Lex Document Summarization": page_summarization,
|
41 |
+
"Chat with RSCA": page_qna,
|
42 |
"Chat with Uploaded Docs": page_chat_with_uploaded_docs
|
43 |
}
|
44 |
|
|
|
86 |
|
87 |
def page_qna(uploaded_files):
|
88 |
"""Page for Q&A functionality."""
|
89 |
+
st.title("Chat with RSCA")
|
90 |
user_query = st.text_area("Enter your question here:", height=300)
|
91 |
if st.button('Get Answer'):
|
92 |
if user_query:
|