Spaces:
Sleeping
Sleeping
Update app_web.py
Browse files- app_web.py +6 -1
app_web.py
CHANGED
|
@@ -166,7 +166,12 @@ def render_chat():
|
|
| 166 |
st.markdown(msg["content"])
|
| 167 |
|
| 168 |
# Chat input
|
| 169 |
-
prompt = st.chat_input("Ask a question about your knowledge base..."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
|
| 171 |
if prompt:
|
| 172 |
# Show and store user message
|
|
|
|
| 166 |
st.markdown(msg["content"])
|
| 167 |
|
| 168 |
# Chat input
|
| 169 |
+
prompt = st.chat_input("Ask a question about your knowledge base..."
|
| 170 |
+
accept_file="multiple",
|
| 171 |
+
file_type=["docx", "csv", "xlsx", "xls"\
|
| 172 |
+
"pdf", "rds", "rda", "tsv",\
|
| 173 |
+
"sav", "dta", "txt", "md", "json", "do"]
|
| 174 |
+
)
|
| 175 |
|
| 176 |
if prompt:
|
| 177 |
# Show and store user message
|