Spaces:
Sleeping
Sleeping
Steven Limcorn
commited on
Commit
•
219dbcc
1
Parent(s):
36a1be4
Added jxl 25 upscaler.
Browse files- app.py +3 -2
- examples_x2_25/example_1.png +0 -0
- examples_x2_25/example_2.png +0 -0
- examples_x2_25/example_3.png +0 -0
- examples_x2_25/example_4.png +0 -0
- examples_x2_25/example_5.png +0 -0
- models/modelx2 25 JXL.ort +0 -0
app.py
CHANGED
@@ -64,13 +64,14 @@ def upscale(image, model):
|
|
64 |
|
65 |
examples = [[f"examples/example_{i+1}.png", "modelx4"] for i in range(5)]
|
66 |
examples += [[f"examples_x2/example_{i+1}.png", "modelx2"] for i in range(5)]
|
|
|
67 |
examples += [
|
68 |
[f"minecraft_examples/minecraft-{i+1}.png", "minecraft_modelx4"] for i in range(5)
|
69 |
]
|
70 |
|
71 |
|
72 |
css = ".output-image, .input-image, .image-preview {height: 480px !important} "
|
73 |
-
model_choices = ["modelx2", "modelx4", "minecraft_modelx4"]
|
74 |
|
75 |
gr.Interface(
|
76 |
fn=upscale,
|
@@ -90,4 +91,4 @@ gr.Interface(
|
|
90 |
title="Image Upscaling 🦆",
|
91 |
allow_flagging="never",
|
92 |
css=css,
|
93 |
-
).launch(
|
|
|
64 |
|
65 |
examples = [[f"examples/example_{i+1}.png", "modelx4"] for i in range(5)]
|
66 |
examples += [[f"examples_x2/example_{i+1}.png", "modelx2"] for i in range(5)]
|
67 |
+
examples += [[f"examples_x2_25/example-{i+1}.png", ""] for i in range(5)]
|
68 |
examples += [
|
69 |
[f"minecraft_examples/minecraft-{i+1}.png", "minecraft_modelx4"] for i in range(5)
|
70 |
]
|
71 |
|
72 |
|
73 |
css = ".output-image, .input-image, .image-preview {height: 480px !important} "
|
74 |
+
model_choices = ["modelx2", "modelx2 25 JXL", "modelx4", "minecraft_modelx4"]
|
75 |
|
76 |
gr.Interface(
|
77 |
fn=upscale,
|
|
|
91 |
title="Image Upscaling 🦆",
|
92 |
allow_flagging="never",
|
93 |
css=css,
|
94 |
+
).launch()
|
examples_x2_25/example_1.png
ADDED
examples_x2_25/example_2.png
ADDED
examples_x2_25/example_3.png
ADDED
examples_x2_25/example_4.png
ADDED
examples_x2_25/example_5.png
ADDED
models/modelx2 25 JXL.ort
ADDED
Binary file (147 kB). View file
|
|