File size: 452 Bytes
c7435a7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)