Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ print(joyscout_info_text)
|
|
| 23 |
|
| 24 |
# =============================================
|
| 25 |
# Step 3:
|
| 26 |
-
|
| 27 |
# Strip extra whitespace from the beginning and the end of the text
|
| 28 |
cleaned_text = text.strip()
|
| 29 |
|
|
|
|
| 23 |
|
| 24 |
# =============================================
|
| 25 |
# Step 3:
|
| 26 |
+
def preprocess_text(text):
|
| 27 |
# Strip extra whitespace from the beginning and the end of the text
|
| 28 |
cleaned_text = text.strip()
|
| 29 |
|