AWeirdDev commited on
Commit
0f9f52a
·
verified ·
1 Parent(s): 8808472

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -117,8 +117,7 @@ async def c_cmp(payload: Payload):
117
  payload.temperature,
118
  4096,
119
  payload.top_p,
120
- payload.frequency_penalty,
121
- api_name="/chat"
122
  )
123
  }
124
  }
@@ -135,7 +134,6 @@ async def c_cmp(payload: Payload):
135
  4096, # float (numeric value between 0 and 1048) in 'Max new tokens' Slider component
136
  payload.top_p, # float (numeric value between 0.0 and 1) in 'Top-p (nucleus sampling)' Slider component
137
  payload.frequency_penalty, # float (numeric value between 1.0 and 2.0) in 'Repetition penalty' Slider component
138
- api_name="/chat"
139
  )
140
  for i, item in enumerate(result):
141
  delta = item[len(text):]
 
117
  payload.temperature,
118
  4096,
119
  payload.top_p,
120
+ payload.frequency_penalty
 
121
  )
122
  }
123
  }
 
134
  4096, # float (numeric value between 0 and 1048) in 'Max new tokens' Slider component
135
  payload.top_p, # float (numeric value between 0.0 and 1) in 'Top-p (nucleus sampling)' Slider component
136
  payload.frequency_penalty, # float (numeric value between 1.0 and 2.0) in 'Repetition penalty' Slider component
 
137
  )
138
  for i, item in enumerate(result):
139
  delta = item[len(text):]