diff --git a/scraibe/webui.py b/scraibe/webui.py index 549dd64..1b5d7ee 100644 --- a/scraibe/webui.py +++ b/scraibe/webui.py @@ -144,9 +144,9 @@ def create_app(): footer_html = f.read() # Build Gradio interface + # In Gradio 6.0+, css must be passed to launch(), not Blocks() with gr.Blocks( title="A.P.Strom Transcription", - css="body { font-family: Arial, sans-serif; }", ) as app: # Header @@ -267,7 +267,7 @@ def create_app(): server_name=str(server_name), server_port=int(server_port), favicon_path=favicon_path if os.path.exists(favicon_path) else None, - show_api=False, + css="body { font-family: Arial, sans-serif; }", )