Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,9 +33,8 @@ def classify_image(input_image):
|
|
33 |
return img2 # Return the image with prediction annotations
|
34 |
|
35 |
# Interface creation using Gradio
|
36 |
-
inputs = gr.
|
37 |
-
|
38 |
-
interface = gr.Interface(classify_image, inputs, outputs, capture_session=True)
|
39 |
|
40 |
# Launch the Gradio app
|
41 |
interface.launch()
|
|
|
33 |
return img2 # Return the image with prediction annotations
|
34 |
|
35 |
# Interface creation using Gradio
|
36 |
+
inputs = gr.Image()
|
37 |
+
interface = gr.Interface(classify_image, inputs, capture_session=True)
|
|
|
38 |
|
39 |
# Launch the Gradio app
|
40 |
interface.launch()
|