Update app.py
Browse files
app.py
CHANGED
@@ -235,7 +235,7 @@ with gr.Blocks(theme=gr.themes.Default(), css='styles.css') as demo:
|
|
235 |
# event listeners
|
236 |
extra_components = [*interpretation_bubbles, *tokens_container, original_prompt_btn,
|
237 |
original_prompt_raw]
|
238 |
-
model_chooser.change(reset_model, [model_chooser, extra_components], extra_components)
|
239 |
|
240 |
for i, btn in enumerate(tokens_container):
|
241 |
btn.click(partial(run_interpretation, i=i), [interpretation_prompt,
|
|
|
235 |
# event listeners
|
236 |
extra_components = [*interpretation_bubbles, *tokens_container, original_prompt_btn,
|
237 |
original_prompt_raw]
|
238 |
+
model_chooser.change(reset_model, [model_chooser, *extra_components], extra_components)
|
239 |
|
240 |
for i, btn in enumerate(tokens_container):
|
241 |
btn.click(partial(run_interpretation, i=i), [interpretation_prompt,
|