bluenevus commited on
Commit
05c54b0
·
verified ·
1 Parent(s): fd7e9e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -188,7 +188,7 @@ def process_media(file_path, is_url=False):
188
  formatted_transcript = f"Speaker 1: {transcription}"
189
 
190
  transcription_text = formatted_transcript
191
- generated_file = io.BytsIO(transcription_text.encode())
192
  logger.info("Transcription and diarization completed successfully")
193
  return "Transcription and diarization completed successfully!", True
194
  except Exception as e:
 
188
  formatted_transcript = f"Speaker 1: {transcription}"
189
 
190
  transcription_text = formatted_transcript
191
+ generated_file = io.BytesIO(transcription_text.encode()) # Corrected from BytsIO to BytesIO
192
  logger.info("Transcription and diarization completed successfully")
193
  return "Transcription and diarization completed successfully!", True
194
  except Exception as e: