NORLIE JHON MALAGDAO commited on
Commit
e498988
·
verified ·
1 Parent(s): 6c62994

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,4 +1,4 @@
1
- import gradio as gr
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),