Spaces:
Build error
Build error
app.py
CHANGED
@@ -57,7 +57,7 @@ def get_answers_timestamp(question, transcript):
|
|
57 |
#idxmax, idxmax2
|
58 |
|
59 |
idxcont = lst[idxmax2]['start']
|
60 |
-
answer =
|
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)
|