Spaces:
Runtime error
Runtime error
Commit
•
ae0e4e0
1
Parent(s):
a4419ac
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,9 @@ import gradio as gr
|
|
3 |
def sketch_to_shoes(img):
|
4 |
# Implement sketch recognition model here...
|
5 |
# Return labels and confidences as dictionary
|
6 |
-
return
|
7 |
|
8 |
-
|
|
|
|
|
|
|
|
3 |
def sketch_to_shoes(img):
|
4 |
# Implement sketch recognition model here...
|
5 |
# Return labels and confidences as dictionary
|
6 |
+
return img
|
7 |
|
8 |
+
img = gr.inputs.Image(shape=(256,256))
|
9 |
+
plot = gr.outputs.Image(type="plot")
|
10 |
+
|
11 |
+
iface = gr.Interface(fn=sketch_to_shoes, inputs="sketchpad", title = "Pix2Pix Sketch to Shoes", outputs=plot).launch()
|