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