mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-08-17 02:10:31 +03:00
fix(demo): remove multi file upload
This commit is contained in:
parent
972430f79e
commit
b0e62b08d6
3
files.py
3
files.py
@ -35,7 +35,8 @@ file_processors = {
|
||||
}
|
||||
|
||||
def file_uploader(supabase, openai_key, vector_store):
|
||||
files = st.file_uploader("**Upload a file**", accept_multiple_files=True, type=list(file_processors.keys()))
|
||||
accept_multiple_files = st.secrets.self_hosted == "true"
|
||||
files = st.file_uploader("**Upload a file**", accept_multiple_files=accept_multiple_files, type=list(file_processors.keys()))
|
||||
if st.secrets.self_hosted == "false":
|
||||
st.markdown("**In demo mode, the max file size is 1MB**")
|
||||
if st.button("Add to Database"):
|
||||
|
Loading…
Reference in New Issue
Block a user