Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
|
3 |
|
4 |
model1 = gr.load("models/Jonny001/NSFW_master")
|
5 |
-
model2 = gr.load("models/
|
6 |
model3 = gr.load("models/lexa862/NSFWmodel")
|
7 |
model4 = gr.load("models/Keltezaa/flux_pussy_NSFW")
|
8 |
model5 = gr.load("models/prashanth970/flux-lora-uncensored")
|
@@ -10,7 +10,7 @@ model5 = gr.load("models/prashanth970/flux-lora-uncensored")
|
|
10 |
def generate_images(text, selected_model):
|
11 |
if selected_model == "Model 1 (NSFW Master)":
|
12 |
model = model1
|
13 |
-
elif selected_model == "Model 2 (
|
14 |
model = model2
|
15 |
elif selected_model == "Model 3 (Lexa NSFW)":
|
16 |
model = model3
|
@@ -34,7 +34,7 @@ interface = gr.Interface(
|
|
34 |
inputs=[
|
35 |
gr.Textbox(label="Type here your imagination:", placeholder="Type your prompt..."),
|
36 |
gr.Radio(
|
37 |
-
["Model 1 (NSFW Master)", "Model 2 (
|
38 |
label="Select Model (Try All Models & Get Different Results)",
|
39 |
value="Model 1 (NSFW Master)",
|
40 |
),
|
|
|
2 |
|
3 |
|
4 |
model1 = gr.load("models/Jonny001/NSFW_master")
|
5 |
+
model2 = gr.load("models/Jonny001/Alita-v1")
|
6 |
model3 = gr.load("models/lexa862/NSFWmodel")
|
7 |
model4 = gr.load("models/Keltezaa/flux_pussy_NSFW")
|
8 |
model5 = gr.load("models/prashanth970/flux-lora-uncensored")
|
|
|
10 |
def generate_images(text, selected_model):
|
11 |
if selected_model == "Model 1 (NSFW Master)":
|
12 |
model = model1
|
13 |
+
elif selected_model == "Model 2 (Alita)":
|
14 |
model = model2
|
15 |
elif selected_model == "Model 3 (Lexa NSFW)":
|
16 |
model = model3
|
|
|
34 |
inputs=[
|
35 |
gr.Textbox(label="Type here your imagination:", placeholder="Type your prompt..."),
|
36 |
gr.Radio(
|
37 |
+
["Model 1 (NSFW Master)", "Model 2 (Alita)", "Model 3 (Lexa NSFW)", "Model 4 (Flux NSFW)", "Model 5 (Lora Uncensored)"],
|
38 |
label="Select Model (Try All Models & Get Different Results)",
|
39 |
value="Model 1 (NSFW Master)",
|
40 |
),
|