Spaces:
Running
Running
zach
commited on
Commit
·
eb397af
1
Parent(s):
96154e7
Lower maximum prompt length to 300 characters from 500
Browse files- src/app.py +1 -1
src/app.py
CHANGED
@@ -27,7 +27,7 @@ from src.utils import truncate_text, validate_prompt_length
|
|
27 |
|
28 |
# Constants
|
29 |
PROMPT_MIN_LENGTH: int = 10
|
30 |
-
PROMPT_MAX_LENGTH: int =
|
31 |
|
32 |
|
33 |
def process_prompt(prompt: str) -> str:
|
|
|
27 |
|
28 |
# Constants
|
29 |
PROMPT_MIN_LENGTH: int = 10
|
30 |
+
PROMPT_MAX_LENGTH: int = 300
|
31 |
|
32 |
|
33 |
def process_prompt(prompt: str) -> str:
|