dlfelps commited on
Commit
6f60477
·
verified ·
1 Parent(s): f46c369

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -21
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
- 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()
 
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()