Update app.py
Browse files
app.py
CHANGED
|
@@ -97,7 +97,7 @@ def respond(message, history):
|
|
| 97 |
)
|
| 98 |
return response.choices[0].message["content"].strip()
|
| 99 |
|
| 100 |
-
|
| 101 |
cleaned_chunks = []
|
| 102 |
def preprocess_text(text):
|
| 103 |
# Strip extra whitespace from the beginning and the end of the text
|
|
|
|
| 97 |
)
|
| 98 |
return response.choices[0].message["content"].strip()
|
| 99 |
|
| 100 |
+
|
| 101 |
cleaned_chunks = []
|
| 102 |
def preprocess_text(text):
|
| 103 |
# Strip extra whitespace from the beginning and the end of the text
|