Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -303,7 +303,7 @@ class BiomassPredictorApp:
|
|
303 |
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(16, 8))
|
304 |
|
305 |
# Prepare RGB image using bands 4,3,2 (0-indexed: 3,2,1)
|
306 |
-
rgb_bands = [
|
307 |
|
308 |
if image.shape[0] >= 5: # Ensure we have enough bands (need at least 5 for 0-indexed band 4)
|
309 |
# Create RGB image
|
|
|
303 |
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(16, 8))
|
304 |
|
305 |
# Prepare RGB image using bands 4,3,2 (0-indexed: 3,2,1)
|
306 |
+
rgb_bands = [3, 2, 1] # Using 4,3,2 for RGB (0-indexed)
|
307 |
|
308 |
if image.shape[0] >= 5: # Ensure we have enough bands (need at least 5 for 0-indexed band 4)
|
309 |
# Create RGB image
|