Skip to content

Commit

Permalink
Update common.js (#1854)
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
think7z committed Jun 10, 2024
1 parent 46428b7 commit cb96ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ async function GptAcademicJavaScriptInit(dark, prompt, live2d, layout, tts) {
if (getCookie("js_md_dropdown_cookie")) {
const cached_model = getCookie("js_md_dropdown_cookie");
var model_sel = await get_gradio_component("elem_model_sel");
// deterine whether the cached model is in the choices
// determine whether the cached model is in the choices
if (model_sel.props.choices.includes(cached_model)){
// change dropdown
gpt_academic_gradio_saveload("load", "elem_model_sel", "js_md_dropdown_cookie", null, "str");
Expand Down

0 comments on commit cb96ca1

Please sign in to comment.