Qudrat0708 commited on
Commit
fae3cf9
·
verified ·
1 Parent(s): e4f64d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import streamlit as st
2
  import tensorflow as tf
3
- import numpy as np
4
  from PIL import Image
5
 
6
  # Load the model
@@ -15,7 +15,7 @@ class_names = [
15
  # Streamlit app layout
16
  st.title("CIFAR-10 Image Classifier")
17
  st.write("Upload an image to classify it into one of the CIFAR-10 categories.")
18
-
19
  # File uploader
20
  uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png", "jpeg"])
21
 
 
1
  import streamlit as st
2
  import tensorflow as tf
3
+ import numpy as npv
4
  from PIL import Image
5
 
6
  # Load the model
 
15
  # Streamlit app layout
16
  st.title("CIFAR-10 Image Classifier")
17
  st.write("Upload an image to classify it into one of the CIFAR-10 categories.")
18
+
19
  # File uploader
20
  uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png", "jpeg"])
21