Spaces:
Running
Running
Update app.py
Browse files
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)]
|