Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def generate(prompt, history, system_prompt, temperature=0.9, max_new_tokens=904
|
|
36 |
yield output
|
37 |
|
38 |
def submit(message, history, system_prompt):
|
39 |
-
if len(message) >= 25
|
40 |
return generate(message, history, system_prompt)
|
41 |
else:
|
42 |
return history, "Your message has to be over 25 characters to get proccesed by Milo!."
|
|
|
36 |
yield output
|
37 |
|
38 |
def submit(message, history, system_prompt):
|
39 |
+
if len(message) >= 25
|
40 |
return generate(message, history, system_prompt)
|
41 |
else:
|
42 |
return history, "Your message has to be over 25 characters to get proccesed by Milo!."
|