aleger commited on
Commit
0c00fe4
·
1 Parent(s): 93211cd

filename correction

Browse files
src/runners/transcription_zipper.py CHANGED
@@ -27,7 +27,7 @@ class TranscriptionZipper(bentoml.Runnable):
27
  file_name = orig_filename.removesuffix(".wav")
28
  with zipfile.ZipFile(zip_buffer, "a") as zip_file:
29
  # zip_file.writestr(file_name + ".html", new_content)
30
- zip_file.write(file_name + '.docx')
31
 
32
  # Return the zip file as bytes
33
  return zip_buffer.getvalue()
 
27
  file_name = orig_filename.removesuffix(".wav")
28
  with zipfile.ZipFile(zip_buffer, "a") as zip_file:
29
  # zip_file.writestr(file_name + ".html", new_content)
30
+ zip_file.write(orig_filename + '.docx')
31
 
32
  # Return the zip file as bytes
33
  return zip_buffer.getvalue()