Spaces:
Runtime error
Runtime error
SuperSecureHuman
commited on
Commit
•
f6bc1c7
1
Parent(s):
a78b15a
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def process_image(img):
|
|
105 |
return (lowres, preds)
|
106 |
|
107 |
image = gr.inputs.Image()
|
108 |
-
image_out = gr.outputs.Image()
|
109 |
|
110 |
markdown_part = """
|
111 |
|
@@ -121,7 +121,7 @@ gr.Interface(
|
|
121 |
description="SuperResolution",
|
122 |
inputs = image,
|
123 |
examples = examples,
|
124 |
-
outputs = gr.Gallery(label="Outputs, First image is low res, next one is High Res",visible=True),
|
125 |
article = markdown_part,
|
126 |
interpretation='default',
|
127 |
allow_flagging='never'
|
|
|
105 |
return (lowres, preds)
|
106 |
|
107 |
image = gr.inputs.Image()
|
108 |
+
#image_out = gr.outputs.Image()
|
109 |
|
110 |
markdown_part = """
|
111 |
|
|
|
121 |
description="SuperResolution",
|
122 |
inputs = image,
|
123 |
examples = examples,
|
124 |
+
outputs = gr.Gallery(label="Outputs, First image is low res, next one is High Res",visible=True).style(grid=[2], height="auto"),
|
125 |
article = markdown_part,
|
126 |
interpretation='default',
|
127 |
allow_flagging='never'
|