aje6 commited on
Commit
7588735
·
verified ·
1 Parent(s): 6fcee56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -233,9 +233,9 @@ def predict(image):
233
  output = model(img_tensor)
234
 
235
  # Process output (adjust based on your model's format)
236
- # return output # or post-process the results as needed
237
- annotated_img = output.render()[0]
238
- return annotated_img
239
 
240
  # Gradio interface
241
  demo = gr.Interface(
 
233
  output = model(img_tensor)
234
 
235
  # Process output (adjust based on your model's format)
236
+ return output # or post-process the results as needed
237
+ # annotated_img = output.render()[0]
238
+ # return annotated_img
239
 
240
  # Gradio interface
241
  demo = gr.Interface(