Spaces:
Runtime error
Runtime error
Commit
·
94c3608
1
Parent(s):
57ecf45
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ if file is not None:
|
|
| 14 |
x = x / 255.00
|
| 15 |
x = np.expand_dims(x, axis=-1)
|
| 16 |
print(x.shape)
|
| 17 |
-
x = tf.image.resize(x [80, 80])
|
| 18 |
print(x.shape)
|
| 19 |
x = np.repeat(x[:, :, np.newaxis], 3, axis=2)
|
| 20 |
print(x.shape)
|
|
|
|
| 14 |
x = x / 255.00
|
| 15 |
x = np.expand_dims(x, axis=-1)
|
| 16 |
print(x.shape)
|
| 17 |
+
x = tf.image.resize(x, [80, 80])
|
| 18 |
print(x.shape)
|
| 19 |
x = np.repeat(x[:, :, np.newaxis], 3, axis=2)
|
| 20 |
print(x.shape)
|