File size: 356 Bytes
b5df4eb
5dc108b
b5df4eb
5dc108b
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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")