Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ model = tf.keras.models.load_model('complete_.keras')
|
|
| 11 |
if image :
|
| 12 |
button = st.button("Complete")
|
| 13 |
image = Image.open(image)
|
| 14 |
-
image = image.convert("
|
| 15 |
image = image.resize((128,128-80))
|
| 16 |
padded_width = image.width + padding_width # Add the padding width to the original width
|
| 17 |
padded_height =image.height # Keep the original height
|
|
|
|
| 11 |
if image :
|
| 12 |
button = st.button("Complete")
|
| 13 |
image = Image.open(image)
|
| 14 |
+
image = image.convert("RGB")
|
| 15 |
image = image.resize((128,128-80))
|
| 16 |
padded_width = image.width + padding_width # Add the padding width to the original width
|
| 17 |
padded_height =image.height # Keep the original height
|