Spaces:
Runtime error
Runtime error
Canstralian
commited on
Commit
•
5dc108b
1
Parent(s):
c599e5a
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,10 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
+
from transformers import FluxLustlyAIForCausalLM
|
3 |
|
4 |
+
model = FluxLustlyAIForCausalLM.from_pretrained("lustlyai/Flux_Lustly.ai_Uncensored_nsfw_v1")
|
5 |
+
|
6 |
+
with gr.Blocks() as app:
|
7 |
+
with gr.Tab("Input"):
|
8 |
+
text = gr.Textbox(lines=20)
|
9 |
+
generate_button = gr.Button("Generate")
|
10 |
+
generated_text = gr.Text(label="Generated Text")
|