aagoluoglu commited on
Commit
b8d3e14
·
verified ·
1 Parent(s): 6363ff4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -251,7 +251,7 @@ def server(input: Inputs, output: Outputs, session: Session):
251
  axes[1].set_title(f"Probability Map {prob.shape}")
252
 
253
  # Plot the prediction image on the right
254
- axes[2].imshow(prediction_im, extent=(0, width, height, 0)) # Setting extent to match original image dimensions
255
  axes[2].set_title("Prediction")
256
 
257
  # Plot the predicted mask on the right
 
251
  axes[1].set_title(f"Probability Map {prob.shape}")
252
 
253
  # Plot the prediction image on the right
254
+ axes[2].imshow(prediction, extent=(0, width, height, 0)) # Setting extent to match original image dimensions
255
  axes[2].set_title("Prediction")
256
 
257
  # Plot the predicted mask on the right