Spaces:
Running
Running
Hu
commited on
Commit
·
bd077a5
1
Parent(s):
d5c8480
enble queue and cache of launch
Browse files- LR_image.png +0 -0
- app.py +2 -2
LR_image.png
DELETED
Binary file (107 kB)
|
|
app.py
CHANGED
@@ -141,7 +141,7 @@ def super_reso(image):
|
|
141 |
|
142 |
gr.Interface(
|
143 |
fn=super_reso,
|
144 |
-
inputs=gr.inputs.Image(
|
145 |
outputs=[
|
146 |
gr.outputs.Image(label="Convolutional neural network"),
|
147 |
gr.outputs.Image(label="Bicubic interpoloation"),
|
@@ -150,4 +150,4 @@ gr.Interface(
|
|
150 |
description=description,
|
151 |
article=article,
|
152 |
examples=examples,
|
153 |
-
).launch()
|
|
|
141 |
|
142 |
gr.Interface(
|
143 |
fn=super_reso,
|
144 |
+
inputs=gr.inputs.Image(label="Upload image"),
|
145 |
outputs=[
|
146 |
gr.outputs.Image(label="Convolutional neural network"),
|
147 |
gr.outputs.Image(label="Bicubic interpoloation"),
|
|
|
150 |
description=description,
|
151 |
article=article,
|
152 |
examples=examples,
|
153 |
+
).launch(enable_queue=True, cache_examples=True)
|