Bey007 commited on
Commit
00e8e64
1 Parent(s): 851c45b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def generate_response(user_input):
48
  # Generate the response
49
  response_ids = gpt2_model.generate(
50
  input_ids,
51
- max_length=150,
52
  temperature=0.7,
53
  top_p=0.9,
54
  top_k=50,
 
48
  # Generate the response
49
  response_ids = gpt2_model.generate(
50
  input_ids,
51
+ max_length=120,
52
  temperature=0.7,
53
  top_p=0.9,
54
  top_k=50,