Spaces:
Sleeping
Sleeping
Update help_me_talk.py
Browse files- 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(
|
| 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
|