Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import tensorflow as tf
|
| 3 |
-
import numpy as
|
| 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 |
|