import gradio as gr model = gr.load("models/Purz/face-projection") def generate_image(text): if text in examples: print(f"Using example: {text}") return model(text) examples = ["Humanoid Cat Warrior, Full View"] interface = gr.Interface( model, inputs=gr.Textbox(label="Type your imagination:", examples=examples), outputs=gr.Image(label="Gen Image"), theme="NoCrypt/miku", ) interface.launch()