mirror of
https://github.com/tcsenpai/youlama.git
synced 2025-06-05 18:55:39 +00:00
fixed ollama dropdown
This commit is contained in:
parent
bb592bcc55
commit
91931bfbf1
4
app.py
4
app.py
@ -163,7 +163,7 @@ def create_interface():
|
||||
visible=False,
|
||||
)
|
||||
summarize_checkbox.change(
|
||||
fn=lambda x: gr.Dropdown.update(visible=x),
|
||||
fn=lambda x: {"visible": x},
|
||||
inputs=[summarize_checkbox],
|
||||
outputs=[ollama_model_dropdown],
|
||||
)
|
||||
@ -252,7 +252,7 @@ def create_interface():
|
||||
visible=False,
|
||||
)
|
||||
yt_summarize_checkbox.change(
|
||||
fn=lambda x: gr.Dropdown.update(visible=x),
|
||||
fn=lambda x: {"visible": x},
|
||||
inputs=[yt_summarize_checkbox],
|
||||
outputs=[yt_ollama_model_dropdown],
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user