chrismontes commited on
Commit
65fd6da
·
verified ·
1 Parent(s): 96145ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -53,15 +53,12 @@ def predict(input_img):
53
  return result
54
 
55
  gradio_app = gr.Interface(
56
- fn=predict,
57
  inputs=gr.Image(label="Please select a clear image of your good dog to upload.", sources=['upload'], type="pil"),
58
- outputs=[gr.Markdown(label="**Predicted Breeds:**"), gr.Image(label="Uploaded Image")],
59
- title="What Breed is Your Dog?",
60
  )
61
 
62
 
63
-
64
  if __name__ == "__main__":
65
- gradio_app.launch()
66
-
67
-
 
53
  return result
54
 
55
  gradio_app = gr.Interface(
56
+ predict,
57
  inputs=gr.Image(label="Please select a clear image of your good dog to upload.", sources=['upload'], type="pil"),
58
+ outputs=[gr.Label(label="Result")],
59
+ title="What Breed is Your Dog??",
60
  )
61
 
62
 
 
63
  if __name__ == "__main__":
64
+ gradio_app.launch()