shoom013 commited on
Commit
a6c802a
1 Parent(s): 90fc8a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -118,9 +118,9 @@ def rag(input_text, history, jezik, file):
118
  # resetChat()
119
  print(history, input_text)
120
  ## if (file):
121
- documents = []
122
- for f in file:
123
- documents += SimpleDirectoryReader(f).load_data()
124
  # f = file + "*.pdf"
125
  ## pathname = os.path.dirname
126
  # shutil.copyfile(file.name, path)
 
118
  # resetChat()
119
  print(history, input_text)
120
  ## if (file):
121
+ documents = []
122
+ for f in file:
123
+ documents += SimpleDirectoryReader(f).load_data()
124
  # f = file + "*.pdf"
125
  ## pathname = os.path.dirname
126
  # shutil.copyfile(file.name, path)