captain-awesome commited on
Commit
d55e9be
·
verified ·
1 Parent(s): 7f721d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def main():
49
  loader = loader_class(file_path, **loader_args)
50
  loaded_documents.extend(loader.load())
51
  else:
52
- st.warning(f"Unsupported file extension: {ext}, the app currently only supports 'pdf'")
53
 
54
  st.write("Ask question to get comparison from the documents:")
55
  query = st.text_input("Ask a question:")
 
49
  loader = loader_class(file_path, **loader_args)
50
  loaded_documents.extend(loader.load())
51
  else:
52
+ st.warning(f"Unsupported file extension: {ext}, the app currently only supports pdf")
53
 
54
  st.write("Ask question to get comparison from the documents:")
55
  query = st.text_input("Ask a question:")