Update app.py
Browse files
app.py
CHANGED
@@ -52,8 +52,8 @@ def predict_dog_breed(image):
|
|
52 |
|
53 |
# Create a Gradio interface
|
54 |
iface = gr.Interface(fn=predict_dog_breed,
|
55 |
-
inputs=gr.
|
56 |
-
outputs=[
|
57 |
live=True)
|
58 |
|
59 |
# Launch the Gradio app
|
|
|
52 |
|
53 |
# Create a Gradio interface
|
54 |
iface = gr.Interface(fn=predict_dog_breed,
|
55 |
+
inputs=gr.Image(type="pil"), # Updated input type to 'gr.Image'
|
56 |
+
outputs=[gr.Textbox(), gr.Number()], # Updated output to Textbox and Number
|
57 |
live=True)
|
58 |
|
59 |
# Launch the Gradio app
|