Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,8 @@ def process_file(file):
|
|
34 |
|
35 |
if file_extension == 'pdf':
|
36 |
ocr_text = process_pdf(file)
|
|
|
|
|
37 |
return ocr_text
|
38 |
|
39 |
elif file_extension == 'docx':
|
|
|
34 |
|
35 |
if file_extension == 'pdf':
|
36 |
ocr_text = process_pdf(file)
|
37 |
+
result = mitteilung(ocr_text)
|
38 |
+
return result
|
39 |
return ocr_text
|
40 |
|
41 |
elif file_extension == 'docx':
|