Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import sys
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
|
|
7 |
"Lykon/dreamshaper-xl-1-0",
|
8 |
"nerijs/pixel-art-xl",
|
9 |
"Linaqruf/animagine-xl",
|
@@ -19,7 +20,8 @@ models2=[
|
|
19 |
gr.Interface.load(f"models/{models[1]}",live=True,preprocess=False),
|
20 |
gr.Interface.load(f"models/{models[2]}",live=True,preprocess=False),
|
21 |
gr.Interface.load(f"models/{models[3]}",live=True,preprocess=False),
|
22 |
-
gr.Interface.load(f"models/{models[4]}",live=True,preprocess=False)
|
|
|
23 |
]
|
24 |
|
25 |
|
@@ -82,7 +84,7 @@ with gr.Blocks(css=css) as myface:
|
|
82 |
<p style="margin-bottom: 10px; color: #ffaa66;">
|
83 |
<h3>SDXL models for your enjoyment!</h3></p>
|
84 |
<p style="margin-bottom: 10px; font-size: 98%">
|
85 |
-
<br><h4><a href="https://huggingface.co/spaces/Yntec/
|
86 |
</div>
|
87 |
""")
|
88 |
with gr.Row():
|
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
7 |
+
"playgroundai/playground-v2-1024px-aesthetic",
|
8 |
"Lykon/dreamshaper-xl-1-0",
|
9 |
"nerijs/pixel-art-xl",
|
10 |
"Linaqruf/animagine-xl",
|
|
|
20 |
gr.Interface.load(f"models/{models[1]}",live=True,preprocess=False),
|
21 |
gr.Interface.load(f"models/{models[2]}",live=True,preprocess=False),
|
22 |
gr.Interface.load(f"models/{models[3]}",live=True,preprocess=False),
|
23 |
+
gr.Interface.load(f"models/{models[4]}",live=True,preprocess=False),
|
24 |
+
gr.Interface.load(f"models/{models[5]}",live=True,preprocess=False),
|
25 |
]
|
26 |
|
27 |
|
|
|
84 |
<p style="margin-bottom: 10px; color: #ffaa66;">
|
85 |
<h3>SDXL models for your enjoyment!</h3></p>
|
86 |
<p style="margin-bottom: 10px; font-size: 98%">
|
87 |
+
<br><h4><a href="https://huggingface.co/spaces/Yntec/PrintingPress"><u><b><p>Try out more than 688 Stable Diffusion models at the Printing Press by clicking here!</p></b></u></a></h4></p>
|
88 |
</div>
|
89 |
""")
|
90 |
with gr.Row():
|