Spaces:
Runtime error
Runtime error
NORLIE JHON MALAGDAO
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import
|
2 |
import matplotlib.pyplot as plt
|
3 |
import numpy as np
|
4 |
import os
|
@@ -27,6 +27,7 @@ import zipfile
|
|
27 |
|
28 |
import pathlib
|
29 |
|
|
|
30 |
# Ensure that these imports are at the beginning of your script to avoid any NameError issues.
|
31 |
|
32 |
|
@@ -88,6 +89,8 @@ plt.ylabel('Count', fontsize=14)
|
|
88 |
plt.xticks(rotation=45)
|
89 |
plt.show()
|
90 |
|
|
|
|
|
91 |
# Display 16 pictures of the dataset with their labels
|
92 |
random_index = np.random.randint(0, len(image_df), 16)
|
93 |
fig, axes = plt.subplots(nrows=4, ncols=4, figsize=(10, 10),
|
|
|
1 |
+
import seaborn as sns
|
2 |
import matplotlib.pyplot as plt
|
3 |
import numpy as np
|
4 |
import os
|
|
|
27 |
|
28 |
import pathlib
|
29 |
|
30 |
+
|
31 |
# Ensure that these imports are at the beginning of your script to avoid any NameError issues.
|
32 |
|
33 |
|
|
|
89 |
plt.xticks(rotation=45)
|
90 |
plt.show()
|
91 |
|
92 |
+
|
93 |
+
|
94 |
# Display 16 pictures of the dataset with their labels
|
95 |
random_index = np.random.randint(0, len(image_df), 16)
|
96 |
fig, axes = plt.subplots(nrows=4, ncols=4, figsize=(10, 10),
|