Spaces:
Sleeping
Sleeping
dinhquangson
commited on
Commit
•
35df55e
1
Parent(s):
b640e96
Update app.py
Browse files
app.py
CHANGED
@@ -301,13 +301,11 @@ async def convert_upload_file(file: UploadFile = File(...)):
|
|
301 |
ChatMessage(role="system", content="You are a helpful assistant."),
|
302 |
ChatMessage(role="user", content=first_page),
|
303 |
],
|
304 |
-
max_tokens=65536,
|
305 |
presence_penalty=0,
|
306 |
temperature=0.1,
|
307 |
top_p=0.9,
|
308 |
response_format=ChatCompletionResponseFormat(
|
309 |
type="json_object",
|
310 |
-
max_tokens=4000,
|
311 |
schema=Law.model_json_schema(),
|
312 |
),
|
313 |
)
|
|
|
301 |
ChatMessage(role="system", content="You are a helpful assistant."),
|
302 |
ChatMessage(role="user", content=first_page),
|
303 |
],
|
|
|
304 |
presence_penalty=0,
|
305 |
temperature=0.1,
|
306 |
top_p=0.9,
|
307 |
response_format=ChatCompletionResponseFormat(
|
308 |
type="json_object",
|
|
|
309 |
schema=Law.model_json_schema(),
|
310 |
),
|
311 |
)
|