Spaces:
Runtime error
Runtime error
eddydecena
commited on
Commit
•
0c666a6
1
Parent(s):
9bfa5a4
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ for image in ['cat1.jpg', 'cat2.jpg', 'dog1.jpeg', 'dog2.jpeg']:
|
|
27 |
temp_value = old_name.split('/')
|
28 |
temp_value.pop(-1)
|
29 |
path = '/'.join(temp_value)
|
30 |
-
os.rename(old_name, os.path.join(path,
|
31 |
|
32 |
latest = tf.train.latest_checkpoint(cache_dir)
|
33 |
hypermodel = MakeHyperModel(input_shape=IMAGE_SIZE + (3,), num_classes=2, data_augmentation=data_augmentation)
|
|
|
27 |
temp_value = old_name.split('/')
|
28 |
temp_value.pop(-1)
|
29 |
path = '/'.join(temp_value)
|
30 |
+
os.rename(old_name, os.path.join(path, image))
|
31 |
|
32 |
latest = tf.train.latest_checkpoint(cache_dir)
|
33 |
hypermodel = MakeHyperModel(input_shape=IMAGE_SIZE + (3,), num_classes=2, data_augmentation=data_augmentation)
|