YashGb commited on
Commit
2b63f39
·
1 Parent(s): 505d18d

Update help_me_talk.py

Browse files
Files changed (1) hide show
  1. help_me_talk.py +1 -1
help_me_talk.py CHANGED
@@ -16,7 +16,7 @@ def helpTalk(input):
16
  )
17
  text = response["choices"][0]["text"]
18
  text = text.replace("\n","")
19
- start = text.find("Output:") + 5
20
  end = len(text)
21
  text = text[start:end].strip()
22
  return text
 
16
  )
17
  text = response["choices"][0]["text"]
18
  text = text.replace("\n","")
19
+ start = text.find('Output:')
20
  end = len(text)
21
  text = text[start:end].strip()
22
  return text