Update app.py
Browse files
app.py
CHANGED
@@ -240,7 +240,7 @@ with gr.Blocks(theme=gr.themes.Default(), css='styles.css') as demo:
|
|
240 |
|
241 |
|
242 |
# event listeners
|
243 |
-
model_chooser.change(
|
244 |
|
245 |
for i, btn in enumerate(tokens_container):
|
246 |
btn.click(partial(run_interpretation, i=i), [interpretation_prompt,
|
|
|
240 |
|
241 |
|
242 |
# event listeners
|
243 |
+
model_chooser.change(reset_model, [model_chooser], [])
|
244 |
|
245 |
for i, btn in enumerate(tokens_container):
|
246 |
btn.click(partial(run_interpretation, i=i), [interpretation_prompt,
|