From b1de04be5ce43178c05f07fc44e2390a5b6919cc Mon Sep 17 00:00:00 2001 From: tcsenpai Date: Fri, 23 May 2025 10:29:56 +0200 Subject: [PATCH] fixed ollama vailablility checker --- app.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app.py b/app.py index 0c76c30..edd81b9 100644 --- a/app.py +++ b/app.py @@ -232,8 +232,8 @@ def create_interface(): gr.Warning( "Ollama is not available. Please check your Ollama server." ) - return {"value": False, "visible": False} - return {"value": checked, "visible": checked} + return False, False + return checked, checked summarize_checkbox.change( fn=toggle_summary, @@ -337,8 +337,8 @@ def create_interface(): gr.Warning( "Ollama is not available. Please check your Ollama server." ) - return {"value": False, "visible": False} - return {"value": checked, "visible": checked} + return False, False + return checked, checked yt_summarize_checkbox.change( fn=toggle_yt_summary,