Update app.py
Browse files
app.py
CHANGED
@@ -62,24 +62,24 @@ def upscale(image, model):
|
|
62 |
return image_output
|
63 |
|
64 |
|
65 |
-
css = ".output-image, .input-image, .image-preview {height: 480px !important} "
|
66 |
-
model_choices = ["modelx2", "modelx2 25 JXL", "modelx4", "minecraft_modelx4"]
|
67 |
-
|
68 |
-
gr.Interface(
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
).launch()
|
|
|
62 |
return image_output
|
63 |
|
64 |
|
65 |
+
# css = ".output-image, .input-image, .image-preview {height: 480px !important} "
|
66 |
+
# model_choices = ["modelx2", "modelx2 25 JXL", "modelx4", "minecraft_modelx4"]
|
67 |
+
|
68 |
+
# gr.Interface(
|
69 |
+
# fn=upscale,
|
70 |
+
# inputs=[
|
71 |
+
# gr.inputs.Image(type="pil", label="Input Image"),
|
72 |
+
# gr.inputs.Radio(
|
73 |
+
# model_choices,
|
74 |
+
# type="value",
|
75 |
+
# default="modelx2",
|
76 |
+
# label="Choose Upscaler",
|
77 |
+
# optional=False,
|
78 |
+
# ),
|
79 |
+
# ],
|
80 |
+
# outputs="image",
|
81 |
+
# title="",
|
82 |
+
# description="",
|
83 |
+
# allow_flagging="never",
|
84 |
+
# css=css,
|
85 |
+
# ).launch()
|