ak0601 commited on
Commit
1cdf806
·
1 Parent(s): 8c3eaa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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.inputs.Image()
37
- outputs = gr.outputs.Image()
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()