Spaces:
Running
Running
Update app.py
Browse files
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=
|
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,
|