lemonaddie
commited on
Commit
•
2ce2894
1
Parent(s):
b72df0b
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,7 @@ from gradio_imageslider import ImageSlider
|
|
13 |
|
14 |
import spaces
|
15 |
|
|
|
16 |
def depth_normal(img):
|
17 |
return img, img
|
18 |
|
@@ -298,7 +299,6 @@ def main():
|
|
298 |
description = "Gradio demo for Geowizard."
|
299 |
examples = ["files/bee.jpg"]
|
300 |
|
301 |
-
@spaces.GPU
|
302 |
gr.Interface(
|
303 |
depth_normal,
|
304 |
inputs=[gr.Image(type='pil', label="Original Image")],
|
|
|
13 |
|
14 |
import spaces
|
15 |
|
16 |
+
@spaces.GPU
|
17 |
def depth_normal(img):
|
18 |
return img, img
|
19 |
|
|
|
299 |
description = "Gradio demo for Geowizard."
|
300 |
examples = ["files/bee.jpg"]
|
301 |
|
|
|
302 |
gr.Interface(
|
303 |
depth_normal,
|
304 |
inputs=[gr.Image(type='pil', label="Original Image")],
|