Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,15 +7,15 @@ Original file is located at
|
|
| 7 |
https://colab.research.google.com/drive/1H-R9L74rpYOoQJOnTLLbUpcNpd9Tty_D
|
| 8 |
"""
|
| 9 |
import streamlit as st
|
| 10 |
-
import tensorflow as tf
|
| 11 |
-
from sklearn.datasets import load_sample_image
|
| 12 |
-
import os
|
| 13 |
-
import tensorflow.keras.applications.resnet50 as resnet50
|
| 14 |
-
from tensorflow.keras.applications.resnet50 import ResNet50, preprocess_input
|
| 15 |
-
from tensorflow.keras.preprocessing.image import load_img, img_to_array
|
| 16 |
-
import numpy as np
|
| 17 |
-
from PIL import Image
|
| 18 |
-
from sklearn.neighbors import NearestNeighbors
|
| 19 |
|
| 20 |
st.markdown("This is a image classification program, please enter the image that you would like to process.")
|
| 21 |
st.markdown("Please keep in mind that the dataset is very small (around 100-2000 imgs only")
|
|
|
|
| 7 |
https://colab.research.google.com/drive/1H-R9L74rpYOoQJOnTLLbUpcNpd9Tty_D
|
| 8 |
"""
|
| 9 |
import streamlit as st
|
| 10 |
+
# import tensorflow as tf
|
| 11 |
+
# from sklearn.datasets import load_sample_image
|
| 12 |
+
# import os
|
| 13 |
+
# import tensorflow.keras.applications.resnet50 as resnet50
|
| 14 |
+
# from tensorflow.keras.applications.resnet50 import ResNet50, preprocess_input
|
| 15 |
+
# from tensorflow.keras.preprocessing.image import load_img, img_to_array
|
| 16 |
+
# import numpy as np
|
| 17 |
+
# from PIL import Image
|
| 18 |
+
# from sklearn.neighbors import NearestNeighbors
|
| 19 |
|
| 20 |
st.markdown("This is a image classification program, please enter the image that you would like to process.")
|
| 21 |
st.markdown("Please keep in mind that the dataset is very small (around 100-2000 imgs only")
|