alexkueck commited on
Commit
e20df18
1 Parent(s): 1fc0e14

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -791,7 +791,7 @@ def extract_document_info(documents):
791
  # Extract the filename from the path to use as the title
792
  filename = os.path.basename(doc.metadata.get("path", ""))
793
  title = filename if filename else "Keine Überschrift"
794
-
795
  # Determine the document type and adjust the path accordingly
796
  d_link = download_link(doc)
797
  """
 
791
  # Extract the filename from the path to use as the title
792
  filename = os.path.basename(doc.metadata.get("path", ""))
793
  title = filename if filename else "Keine Überschrift"
794
+ doc_path = doc.metadata.get("path", "")
795
  # Determine the document type and adjust the path accordingly
796
  d_link = download_link(doc)
797
  """