Spaces:
Sleeping
Sleeping
Commit
·
3b773e0
1
Parent(s):
ac1439e
Update app.py
Browse files
app.py
CHANGED
|
@@ -167,6 +167,7 @@ checkpoint.restore(tf.train.latest_checkpoint(checkpoint_dir))
|
|
| 167 |
|
| 168 |
def animize(img):
|
| 169 |
img = np.array(img)
|
|
|
|
| 170 |
img = preprocess_image_test(np.reshape(img,(1,img.shape[0],img.shape[1],img.shape[2])))
|
| 171 |
img = tf.expand_dims(img,0)
|
| 172 |
prediction = generator_f2m(img)
|
|
|
|
| 167 |
|
| 168 |
def animize(img):
|
| 169 |
img = np.array(img)
|
| 170 |
+
print(img.shape)
|
| 171 |
img = preprocess_image_test(np.reshape(img,(1,img.shape[0],img.shape[1],img.shape[2])))
|
| 172 |
img = tf.expand_dims(img,0)
|
| 173 |
prediction = generator_f2m(img)
|