Shreyas094 commited on
Commit
0c8a7e0
1 Parent(s): e181e71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -447,7 +447,8 @@ Remember to focus on financial aspects and implications in your assessment and s
447
  messages=messages,
448
  max_tokens=300, # Increased to allow for more detailed summaries
449
  temperature=temperature,
450
- top_p=0.9
 
451
  )
452
  return response.choices[0].message.content.strip()
453
  except Exception as e:
@@ -525,7 +526,7 @@ Your response should be detailed, informative, accurate, and directly relevant t
525
  messages=messages,
526
  max_tokens=10000,
527
  temperature=temperature,
528
- frequency_penalty=1.2,
529
  top_p=0.9
530
  )
531
  return response.choices[0].message.content.strip()
 
447
  messages=messages,
448
  max_tokens=300, # Increased to allow for more detailed summaries
449
  temperature=temperature,
450
+ top_p=0.9,
451
+ frequency_penalty=1.4
452
  )
453
  return response.choices[0].message.content.strip()
454
  except Exception as e:
 
526
  messages=messages,
527
  max_tokens=10000,
528
  temperature=temperature,
529
+ frequency_penalty=1.4,
530
  top_p=0.9
531
  )
532
  return response.choices[0].message.content.strip()