Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def main():
|
|
| 42 |
|
| 43 |
pages = {
|
| 44 |
"Lex Document Summarization": page_summarization,
|
| 45 |
-
"Chat with
|
| 46 |
"Chat with Uploaded Docs": page_chat_with_uploaded_docs,
|
| 47 |
"Chat with VOO": page_chat_with_voo
|
| 48 |
}
|
|
@@ -91,7 +91,7 @@ def page_summarization(uploaded_files):
|
|
| 91 |
|
| 92 |
def page_qna(uploaded_files):
|
| 93 |
"""Page for Q&A functionality."""
|
| 94 |
-
st.title("Chat with
|
| 95 |
user_query = st.text_area("Enter your question here:", height=300)
|
| 96 |
if st.button('Get Answer'):
|
| 97 |
if user_query:
|
|
|
|
| 42 |
|
| 43 |
pages = {
|
| 44 |
"Lex Document Summarization": page_summarization,
|
| 45 |
+
"Chat with RSCA": page_qna,
|
| 46 |
"Chat with Uploaded Docs": page_chat_with_uploaded_docs,
|
| 47 |
"Chat with VOO": page_chat_with_voo
|
| 48 |
}
|
|
|
|
| 91 |
|
| 92 |
def page_qna(uploaded_files):
|
| 93 |
"""Page for Q&A functionality."""
|
| 94 |
+
st.title("Chat with RSCA")
|
| 95 |
user_query = st.text_area("Enter your question here:", height=300)
|
| 96 |
if st.button('Get Answer'):
|
| 97 |
if user_query:
|