import gradio as gr from utils.t2i import t2i_gen with gr.Blocks( title="🪄 LayerDiffuse - Flux version ☔", theme=gr.themes.Base( font = [gr.themes.GoogleFont("Teachers"), "Arial", "sans-serif"], ) ) as demo: prompt = gr.Text( label="Prompt", info="Your prompt here", placeholder="E.g: glass bottle, high quality" ) if __name__ == "__main__": demo.queue(max_size=20).launch(show_error=True)