Spaces:
Sleeping
Sleeping
diana3135
commited on
Commit
·
abff439
1
Parent(s):
baba5be
update warning
Browse files
app.py
CHANGED
|
@@ -134,7 +134,7 @@ def login(identification_code):
|
|
| 134 |
def word_limit_validation(human_input):
|
| 135 |
words = human_input.split()
|
| 136 |
if len(words) < 50:
|
| 137 |
-
return f"Error:
|
| 138 |
return None
|
| 139 |
|
| 140 |
def on_textbox_change(session_index, session_manager, service, SHEET_ID):
|
|
|
|
| 134 |
def word_limit_validation(human_input):
|
| 135 |
words = human_input.split()
|
| 136 |
if len(words) < 50:
|
| 137 |
+
return f"Error: Please enter at least 50 words."
|
| 138 |
return None
|
| 139 |
|
| 140 |
def on_textbox_change(session_index, session_manager, service, SHEET_ID):
|