bhadresh-savani commited on
Commit
ae0e4e0
1 Parent(s): a4419ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
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 "Hello " + name + "!!"
7
 
8
- iface = gr.Interface(fn=sketch_to_shoes, inputs="sketchpad", outputs="label").launch()
 
 
 
 
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()