ahmadtalha commited on
Commit
c91126d
1 Parent(s): a05af10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -136,7 +136,7 @@ def process_input(image=None, file=None, audio=None, text=""):
136
  final_text += list((list(ocr_prediction)[0][1])[idx])[1][1]
137
  else:
138
  final_text += "\nUnsupported file type."
139
- print(final_text)
140
  if audio is not None:
141
  audio_text = process_audio_to_text(audio)
142
  final_text += "\n" + audio_text
 
136
  final_text += list((list(ocr_prediction)[0][1])[idx])[1][1]
137
  else:
138
  final_text += "\nUnsupported file type."
139
+ print("OCR Text: ", final_text)
140
  if audio is not None:
141
  audio_text = process_audio_to_text(audio)
142
  final_text += "\n" + audio_text