Woziii commited on
Commit
8311a56
1 Parent(s): 83a2fd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = min(100, 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: