Spaces:
flofloga
/
Runtime error

gorkemgoknar commited on
Commit
f7c2b84
1 Parent(s): ccaf952

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -249,7 +249,7 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, voice_clea
249
  print(error_data)
250
  print(speaker_wav)
251
  write_io = StringIO()
252
- csv.writer(write_io).writerows(error_data)
253
  csv_upload= write_io.getvalue().encode()
254
 
255
  filename = error_time+"_" + str(uuid.uuid4()) +".csv"
 
249
  print(error_data)
250
  print(speaker_wav)
251
  write_io = StringIO()
252
+ csv.writer(write_io).writerows([error_data])
253
  csv_upload= write_io.getvalue().encode()
254
 
255
  filename = error_time+"_" + str(uuid.uuid4()) +".csv"