update
Showing
2 changed files
with
9 additions
and
4 deletions
| ... | @@ -43,8 +43,13 @@ function App() { | ... | @@ -43,8 +43,13 @@ function App() { |
| 43 | if(a.id < b.id) { return -1; } | 43 | if(a.id < b.id) { return -1; } |
| 44 | if(a.id > b.id) { return 1; } | 44 | if(a.id > b.id) { return 1; } |
| 45 | return 0; | 45 | return 0; |
| 46 | }) | 46 | }); |
| 47 | setModels(data.models.data) | 47 | let model_list = []; |
| 48 | for( var i = 1; i < data.models.data.length; i++ ) { | ||
| 49 | let model = data.models.data[i]; | ||
| 50 | if(model.id != "whisper-1") model_list.push(model); | ||
| 51 | } | ||
| 52 | setModels(model_list) | ||
| 48 | }) | 53 | }) |
| 49 | } | 54 | } |
| 50 | 55 | ... | ... |
| ... | @@ -21,8 +21,8 @@ const SideMenu = ({ clearChat, currentModel, setCurrentModel, models, setTempera | ... | @@ -21,8 +21,8 @@ const SideMenu = ({ clearChat, currentModel, setCurrentModel, models, setTempera |
| 21 | key={model.id} | 21 | key={model.id} |
| 22 | value={model.id}>{model.id}</option> | 22 | value={model.id}>{model.id}</option> |
| 23 | )) : <option | 23 | )) : <option |
| 24 | key={"text-davinci-003"} | 24 | key={"gpt-3.5-turbo"} |
| 25 | value={"text-davinci-003"}>{"text-davinci-003"}</option>} | 25 | value={"gpt-3.5-turbo"}>{"gpt-3.5-turbo"}</option>} |
| 26 | </select> | 26 | </select> |
| 27 | 27 | ||
| 28 | <Button | 28 | <Button | ... | ... |
-
Please register or sign in to post a comment