nsarrazin HF staff commited on
Commit
863ffbb
1 Parent(s): 8d0f9c9

add sources folder

Browse files
Files changed (2) hide show
  1. app.py +3 -0
  2. sources/add_your_files_here +0 -0
app.py CHANGED
@@ -111,6 +111,9 @@ def predict(query, max_characters) -> str:
111
  docs = {}
112
 
113
  for filename in glob.glob("sources/*"):
 
 
 
114
  converted_doc = convert(filename)
115
 
116
  chunks = chunk_to_length(converted_doc, chunk_size)
 
111
  docs = {}
112
 
113
  for filename in glob.glob("sources/*"):
114
+ if filename.endswith("add_your_files_here"):
115
+ continue
116
+
117
  converted_doc = convert(filename)
118
 
119
  chunks = chunk_to_length(converted_doc, chunk_size)
sources/add_your_files_here ADDED
File without changes