Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def generate_response(financial_goal, risk_tolerance, investment_horizon, monthl
|
|
| 39 |
|
| 40 |
outputs = pipe(
|
| 41 |
prompt,
|
| 42 |
-
max_new_tokens=
|
| 43 |
)
|
| 44 |
response = outputs[0]["generated_text"]
|
| 45 |
return response
|
|
|
|
| 39 |
|
| 40 |
outputs = pipe(
|
| 41 |
prompt,
|
| 42 |
+
max_new_tokens=300,
|
| 43 |
)
|
| 44 |
response = outputs[0]["generated_text"]
|
| 45 |
return response
|