Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -34,9 +34,9 @@ else:
|
|
34 |
{"role": "user", "content": user_input}
|
35 |
],
|
36 |
temperature=0.6,
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
)
|
41 |
|
42 |
# Extracting the generated titles
|
|
|
34 |
{"role": "user", "content": user_input}
|
35 |
],
|
36 |
temperature=0.6,
|
37 |
+
max_tokens=512, # Corrected argument name
|
38 |
+
top_p=0.9,
|
39 |
+
top_k=50
|
40 |
)
|
41 |
|
42 |
# Extracting the generated titles
|