Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py (#2)
Browse files- Update app.py (70a61ea241cb90de2731085ff7a4ff982c6e8fa4)
    	
        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 |  | 
