Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#2
by
aiola
- opened
app.py
CHANGED
@@ -132,6 +132,8 @@ def transcribe_and_recognize_entities(audio_file, prompt, ner_mask=False):
|
|
132 |
|
133 |
clean_text_fixed, extracted_entities_fixed = extract_entities_and_clean_text_fixed(transcription, ner_mask=ner_mask)
|
134 |
|
|
|
|
|
135 |
return transcription, {"text": clean_text_fixed, "entities": extracted_entities_fixed}
|
136 |
|
137 |
|
|
|
132 |
|
133 |
clean_text_fixed, extracted_entities_fixed = extract_entities_and_clean_text_fixed(transcription, ner_mask=ner_mask)
|
134 |
|
135 |
+
print(f"Transcription: {transcription}")
|
136 |
+
|
137 |
return transcription, {"text": clean_text_fixed, "entities": extracted_entities_fixed}
|
138 |
|
139 |
|