tykiww commited on
Commit
16ada75
·
verified ·
1 Parent(s): 808917d

Update services/qa_service/qna.py

Browse files
Files changed (1) hide show
  1. services/qa_service/qna.py +4 -4
services/qa_service/qna.py CHANGED
@@ -66,11 +66,11 @@ class QAService:
66
 
67
  context = ""
68
  for i in range(transcript_count):
69
- context + "Transcript snippet %s" % (i + 1)
70
- context + "\n"
71
- context + full_context[i]["text"]
72
  if (i+1) < transcript_count:
73
- context + "\n\n"
74
 
75
  print(context)
76
  prompt = format_prompt(self.question, context)
 
66
 
67
  context = ""
68
  for i in range(transcript_count):
69
+ context += "Transcript snippet %s" % (i + 1)
70
+ context += "\n"
71
+ context += full_context[i]["text"]
72
  if (i+1) < transcript_count:
73
+ context += "\n\n"
74
 
75
  print(context)
76
  prompt = format_prompt(self.question, context)