Spaces:
Running
on
Zero
Running
on
Zero
lucakempkes
commited on
Commit
·
052031d
1
Parent(s):
f74caab
update models
Browse files
app.py
CHANGED
@@ -5,10 +5,10 @@ from image_gen_aux import UpscaleWithModel
|
|
5 |
from image_gen_aux.utils import load_image
|
6 |
|
7 |
MODELS = {
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
}
|
13 |
|
14 |
|
@@ -27,8 +27,7 @@ def clear_result():
|
|
27 |
|
28 |
|
29 |
title = """<h1 align="center">Best Upscaling Models</h1>
|
30 |
-
<div align="center">
|
31 |
-
<a href="https://github.com/asomoza/image_gen_aux">Image Generation Auxiliary Tools</a> library.</div>
|
32 |
"""
|
33 |
|
34 |
with gr.Blocks() as demo:
|
@@ -39,7 +38,7 @@ with gr.Blocks() as demo:
|
|
39 |
|
40 |
model_selection = gr.Dropdown(
|
41 |
choices=list(MODELS.keys()),
|
42 |
-
value="
|
43 |
label="Model",
|
44 |
)
|
45 |
|
|
|
5 |
from image_gen_aux.utils import load_image
|
6 |
|
7 |
MODELS = {
|
8 |
+
"Fast: 4xNomosWebPhotoRealPLKSR": "Phips/4xNomosWebPhoto_RealPLKSR",
|
9 |
+
"Balanced: 4xRealESRGAN": "luca115/4xRealESRGAN",
|
10 |
+
"Balanced: 4xRemacri": "OzzyGT/4xRemacri",
|
11 |
+
"Slow: 4xSwinIRLarge": "luca115/4xSwinIRLarge",
|
12 |
}
|
13 |
|
14 |
|
|
|
27 |
|
28 |
|
29 |
title = """<h1 align="center">Best Upscaling Models</h1>
|
30 |
+
<div align="center">A collection of my favorite non-diffusion-based upscaling models. For diffusion-based methods, check out these <a href="https://upsampler.com">creative image upscalers and enhancers</a>.</div>
|
|
|
31 |
"""
|
32 |
|
33 |
with gr.Blocks() as demo:
|
|
|
38 |
|
39 |
model_selection = gr.Dropdown(
|
40 |
choices=list(MODELS.keys()),
|
41 |
+
value="Fast: 4xNomosWebPhotoRealPLKSR",
|
42 |
label="Model",
|
43 |
)
|
44 |
|