Use Gradio for web UI
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user