Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,9 @@ import gradio as gr
|
|
2 |
import time
|
3 |
|
4 |
|
5 |
-
model1 = gr.Interface.load("models/pimpilikipilapi1/NSFW_master",
|
6 |
-
model2 = gr.Interface.load("models/prashanth970/flux-lora-uncensored",
|
7 |
-
model3 = gr.Interface.load("models/DiegoJR1973/NSFW-TrioHMH-Flux",
|
8 |
|
9 |
models = {
|
10 |
1: model1,
|
@@ -59,4 +59,4 @@ with gr.Blocks(title="SD Models") as my_interface:
|
|
59 |
)
|
60 |
|
61 |
my_interface.queue(concurrency_count=100, status_update_rate=1)
|
62 |
-
my_interface.launch(inline=True, show_api=False)
|
|
|
2 |
import time
|
3 |
|
4 |
|
5 |
+
model1 = gr.Interface.load("models/pimpilikipilapi1/NSFW_master", preprocess=True, postprocess=False)
|
6 |
+
model2 = gr.Interface.load("models/prashanth970/flux-lora-uncensored", preprocess=True, postprocess=False)
|
7 |
+
model3 = gr.Interface.load("models/DiegoJR1973/NSFW-TrioHMH-Flux", preprocess=True, postprocess=False)
|
8 |
|
9 |
models = {
|
10 |
1: model1,
|
|
|
59 |
)
|
60 |
|
61 |
my_interface.queue(concurrency_count=100, status_update_rate=1)
|
62 |
+
my_interface.launch(inline=True, show_api=False)
|