zjXu11 commited on
Commit
6f6fe5f
·
verified ·
1 Parent(s): ca1d599

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -303,7 +303,7 @@ Organize the result in JSON format as follows:
303
  client,
304
  messages=messages,
305
  engine_name="gpt-4o-mini", # gpt-3.5-turbo
306
- max_tokens=1000, # 32
307
  requests_per_minute = 20,
308
  response_format={"type":"json_object"},
309
  )
@@ -311,7 +311,7 @@ Organize the result in JSON format as follows:
311
 
312
  results = []
313
  for paper_data, response in zip(paper_data_list, responses):
314
- print(response)
315
  response = json.loads(response)
316
  results.append({"title": paper_data["title"], "content": response["revised_text"]})
317
  return results
 
303
  client,
304
  messages=messages,
305
  engine_name="gpt-4o-mini", # gpt-3.5-turbo
306
+ max_tokens=5000, # 32
307
  requests_per_minute = 20,
308
  response_format={"type":"json_object"},
309
  )
 
311
 
312
  results = []
313
  for paper_data, response in zip(paper_data_list, responses):
314
+ # print(response)
315
  response = json.loads(response)
316
  results.append({"title": paper_data["title"], "content": response["revised_text"]})
317
  return results