import gradio as gr from transformers import FluxLustlyAIForCausalLM model = FluxLustlyAIForCausalLM.from_pretrained("lustlyai/Flux_Lustly.ai_Uncensored_nsfw_v1") with gr.Blocks() as app: with gr.Tab("Input"): text = gr.Textbox(lines=20) generate_button = gr.Button("Generate") generated_text = gr.Text(label="Generated Text")