Canstralian's picture
Update app.py
5dc108b verified
raw
history blame
356 Bytes
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")