Update main.py
Browse files
main.py
CHANGED
@@ -76,7 +76,7 @@ async def generate_response(data: InputData) -> Dict[str, Any]:
|
|
76 |
strings = ""
|
77 |
|
78 |
for _, text in enumerate(cleaned_response["New response"]):
|
79 |
-
strings += text
|
80 |
|
81 |
sentences = tokenizer.tokenize(strings)
|
82 |
|
|
|
76 |
strings = ""
|
77 |
|
78 |
for _, text in enumerate(cleaned_response["New response"]):
|
79 |
+
strings += " " + text
|
80 |
|
81 |
sentences = tokenizer.tokenize(strings)
|
82 |
|