Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ Output ONLY a valid JSON object matching this schema:
|
|
| 37 |
{"role": "system", "content": system_prompt},
|
| 38 |
{"role": "user", "content": prompt}
|
| 39 |
],
|
| 40 |
-
max_tokens=
|
| 41 |
temperature=0.1,
|
| 42 |
response_format={"type": "json_object"}
|
| 43 |
)
|
|
|
|
| 37 |
{"role": "system", "content": system_prompt},
|
| 38 |
{"role": "user", "content": prompt}
|
| 39 |
],
|
| 40 |
+
max_tokens=512, # REDUCED: The JSON is short. Capping this saves unnecessary generation time.
|
| 41 |
temperature=0.1,
|
| 42 |
response_format={"type": "json_object"}
|
| 43 |
)
|