mgokg commited on
Commit
947850d
·
verified ·
1 Parent(s): a0d1528

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,7 +37,7 @@ def process_file(file):
37
  if file_extension == 'pdf':
38
  ocr_text = process_pdf(file)
39
  result = mitteilung(ocr_text)
40
- display(Markdown(result))
41
  return result
42
  return ocr_text
43
 
@@ -48,7 +48,7 @@ def process_file(file):
48
  text += paragraph.text + "\n"
49
 
50
  result = mitteilung(text)
51
- display(Markdown(result))
52
  return result
53
  return text
54
  #return [Document(text=text)]
 
37
  if file_extension == 'pdf':
38
  ocr_text = process_pdf(file)
39
  result = mitteilung(ocr_text)
40
+ #display(Markdown(result))
41
  return result
42
  return ocr_text
43
 
 
48
  text += paragraph.text + "\n"
49
 
50
  result = mitteilung(text)
51
+ #display(Markdown(result))
52
  return result
53
  return text
54
  #return [Document(text=text)]