Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ def generate(
|
|
115 |
elif response_type == "long":
|
116 |
max_new_tokens = min(200, max_new_tokens)
|
117 |
else:
|
118 |
-
max_new_tokens =
|
119 |
|
120 |
conversation = []
|
121 |
if system_prompt:
|
|
|
115 |
elif response_type == "long":
|
116 |
max_new_tokens = min(200, max_new_tokens)
|
117 |
else:
|
118 |
+
max_new_tokens = max(100, max_new_tokens)
|
119 |
|
120 |
conversation = []
|
121 |
if system_prompt:
|