mgokg commited on
Commit
91c68e1
·
verified ·
1 Parent(s): 46b1106

Update app.py

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