Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,15 +53,12 @@ def predict(input_img):
|
|
53 |
return result
|
54 |
|
55 |
gradio_app = gr.Interface(
|
56 |
-
|
57 |
inputs=gr.Image(label="Please select a clear image of your good dog to upload.", sources=['upload'], type="pil"),
|
58 |
-
outputs=[gr.
|
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()
|
|
|
|