AlbertoFH98 commited on
Commit
71ebe48
·
1 Parent(s): e90fae7

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -112,7 +112,7 @@ PREGUNTA:""", cleaned_prompt, re.DOTALL)
112
  )
113
  text = output['output']['choices'][0]['text']
114
  text = self.clean_duplicates(text)
115
- return text, new_cleaned_prompt
116
 
117
  # -- Get GPT response
118
  def get_gpt_response(transcription_path, query):
 
112
  )
113
  text = output['output']['choices'][0]['text']
114
  text = self.clean_duplicates(text)
115
+ return text
116
 
117
  # -- Get GPT response
118
  def get_gpt_response(transcription_path, query):