Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ async def evaluate_code(request: EvalRequest):
|
|
| 35 |
},
|
| 36 |
{"role": "user", "content": prompt}
|
| 37 |
],
|
| 38 |
-
max_tokens=
|
| 39 |
temperature=0.1,
|
| 40 |
# THIS IS THE MAGIC LINE:
|
| 41 |
response_format={"type": "json_object"}
|
|
|
|
| 35 |
},
|
| 36 |
{"role": "user", "content": prompt}
|
| 37 |
],
|
| 38 |
+
max_tokens=512,
|
| 39 |
temperature=0.1,
|
| 40 |
# THIS IS THE MAGIC LINE:
|
| 41 |
response_format={"type": "json_object"}
|