Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,10 +54,11 @@ def predict(input_img):
|
|
54 |
|
55 |
gradio_app = gr.Interface(
|
56 |
predict,
|
57 |
-
inputs=gr.Image(label="Please select a clear image of your good dog to upload
|
58 |
outputs=[gr.Label(label="Result")],
|
59 |
title="What is Your Dog Breed?",
|
60 |
)
|
61 |
|
|
|
62 |
if __name__ == "__main__":
|
63 |
gradio_app.launch()
|
|
|
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 is Your Dog Breed?",
|
60 |
)
|
61 |
|
62 |
+
|
63 |
if __name__ == "__main__":
|
64 |
gradio_app.launch()
|