aagoluoglu commited on
Commit
a176444
·
verified ·
1 Parent(s): 2bae6c1

Update app.py

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