"""Application layout: one shared workspace for all image tasks."""
from __future__ import annotations
import gradio as gr
from core.runtime_config import CONFIG
from .shared import studio_ui
from .theme import APP_CSS
def build_ui(event_handler_function):
ui_components = {}
theme = gr.themes.Soft(
primary_hue="indigo",
secondary_hue="violet",
neutral_hue="slate",
radius_size="lg",
)
with gr.Blocks(
theme=theme,
css=APP_CSS,
title="ImageGen Studio",
fill_width=True,
) as demo:
gr.HTML(
"""