Spaces:
Sleeping
Sleeping
Update help_me_talk.py
Browse files- help_me_talk.py +0 -4
help_me_talk.py
CHANGED
|
@@ -15,8 +15,4 @@ def helpTalk(input):
|
|
| 15 |
stop=["/#/#"]
|
| 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
|
|
|
|
| 15 |
stop=["/#/#"]
|
| 16 |
)
|
| 17 |
text = response["choices"][0]["text"]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
return text
|