mgokg commited on
Commit
2eb9ec0
·
verified ·
1 Parent(s): 550088f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,7 +49,7 @@ def process_file(file):
49
  if file_extension == 'pdf':
50
  ocr_text = process_pdf(file)
51
  result = mitteilung(ocr_text)
52
- display(Markdown(result))
53
  return result
54
  return ocr_text
55
 
@@ -60,7 +60,7 @@ def process_file(file):
60
  text += paragraph.text + "\n"
61
 
62
  result = mitteilung(text)
63
- display(Markdown(result))
64
  return result
65
  return text
66
  #return [Document(text=text)]
 
49
  if file_extension == 'pdf':
50
  ocr_text = process_pdf(file)
51
  result = mitteilung(ocr_text)
52
+ #display(Markdown(result))
53
  return result
54
  return ocr_text
55
 
 
60
  text += paragraph.text + "\n"
61
 
62
  result = mitteilung(text)
63
+ #display(Markdown(result))
64
  return result
65
  return text
66
  #return [Document(text=text)]