ysharma HF staff commited on
Commit
c915ab7
·
1 Parent(s): 4851723
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def get_answers_timestamp(question, transcript):
57
  #idxmax, idxmax2
58
 
59
  idxcont = lst[idxmax2]['start']
60
- answer = FinalTranscript[len(contx[0])-135 + idxcont:]
61
  sentence_keyword = answer[:50]
62
 
63
  dftranscript = pd.DataFrame(transcript)
 
57
  #idxmax, idxmax2
58
 
59
  idxcont = lst[idxmax2]['start']
60
+ answer = transcript[len(contx[0])-135 + idxcont:]
61
  sentence_keyword = answer[:50]
62
 
63
  dftranscript = pd.DataFrame(transcript)