kabita-choudhary commited on
Commit
731d7a6
1 Parent(s): e8adb19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -26,6 +26,7 @@ def diarization(inp_audio):
26
  with open('my_file.txt', 'w') as my_file:
27
  for i in range (df.start.count()):
28
  my_file.write(df.speaker[i]+": " +df.text[i] + '\n')
 
29
  print(open("my_file.txt","r").read())
30
  return output
31
 
 
26
  with open('my_file.txt', 'w') as my_file:
27
  for i in range (df.start.count()):
28
  my_file.write(df.speaker[i]+": " +df.text[i] + '\n')
29
+ output=output+df.speaker[i]+": " +df.text[i] + '\n'
30
  print(open("my_file.txt","r").read())
31
  return output
32