tea-phan-y commited on
Commit
197e408
·
verified ·
1 Parent(s): de92693

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,8 +78,8 @@ def generate_response(user_query, relevant_segment):
78
  max_tokens=5000,
79
  temperature=0.2,
80
  top_p=1,
81
- frequency_penalty=0,
82
- presence_penalty=0
83
  )
84
 
85
  # Extract the response text
 
78
  max_tokens=5000,
79
  temperature=0.2,
80
  top_p=1,
81
+ frequency_penalty=0.5,
82
+ presence_penalty=0.5
83
  )
84
 
85
  # Extract the response text