Use Gradio for web UI

This commit is contained in:
2026-05-22 19:56:46 +01:00
parent 82718e5e84
commit f4f1236777
7 changed files with 169 additions and 592 deletions

View File

@@ -1,4 +1,4 @@
"""Tests for the Guardio web UI command adapter."""
"""Tests for the Gradio web UI command adapter."""
from __future__ import annotations
@@ -38,11 +38,7 @@ def test_build_pipeline_command_accepts_optional_settings():
assert "--gpu" in command
def test_index_renders_guardio_ui():
def test_create_app_builds_gradio_blocks():
app = create_app()
app.config.update(TESTING=True)
response = app.test_client().get("/")
assert response.status_code == 200
assert b"Guardio" in response.data
assert app.title == "Gradio YouTube Auto Dub"