Update app.py
Browse files
app.py
CHANGED
@@ -5,14 +5,15 @@ import gradio as gr
|
|
5 |
import time
|
6 |
|
7 |
models =[
|
|
|
|
|
|
|
8 |
"black-forest-labs/FLUX.1-dev",
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"Yntec/Roleplay",
|
15 |
-
"Yntec/Chip_n_DallE",
|
16 |
"Yntec/ArtisticVision",
|
17 |
]
|
18 |
|
@@ -92,7 +93,7 @@ with gr.Blocks(title="SD Models") as my_interface:
|
|
92 |
sd_outputs = {}
|
93 |
model_idx = 1
|
94 |
for model_path in models:
|
95 |
-
with gr.Column(scale=3, min_width=
|
96 |
with gr.Box():
|
97 |
sd_outputs[model_idx] = gr.Image(label=model_path)
|
98 |
pass
|
@@ -138,6 +139,6 @@ with gr.Blocks(title="SD Models") as my_interface:
|
|
138 |
tog_box,
|
139 |
cancels=[*list(runs_dict.values())])
|
140 |
|
141 |
-
my_interface.queue(concurrency_count=
|
142 |
my_interface.launch(inline=True, show_api=False)
|
143 |
|
|
|
5 |
import time
|
6 |
|
7 |
models =[
|
8 |
+
"enhanceaiteam/Flux-uncensored",
|
9 |
+
"adirik/flux-cinestill",
|
10 |
+
"alvdansen/flux_film_foto",
|
11 |
"black-forest-labs/FLUX.1-dev",
|
12 |
+
"SG161222/RealVisXL_V4.0",
|
13 |
+
"alvdansen/pola-photo-flux",
|
14 |
+
"alvdansen/mooniverse",
|
15 |
+
"kudzueye/boreal-flux-dev-v2",
|
16 |
+
"XLabs-AI/flux-RealismLora",
|
|
|
|
|
17 |
"Yntec/ArtisticVision",
|
18 |
]
|
19 |
|
|
|
93 |
sd_outputs = {}
|
94 |
model_idx = 1
|
95 |
for model_path in models:
|
96 |
+
with gr.Column(scale=3, min_width=200):
|
97 |
with gr.Box():
|
98 |
sd_outputs[model_idx] = gr.Image(label=model_path)
|
99 |
pass
|
|
|
139 |
tog_box,
|
140 |
cancels=[*list(runs_dict.values())])
|
141 |
|
142 |
+
my_interface.queue(concurrency_count=100, status_update_rate=1)
|
143 |
my_interface.launch(inline=True, show_api=False)
|
144 |
|