Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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
|