Spaces:
Runtime error
Runtime error
John Smith
commited on
Commit
·
24d3233
1
Parent(s):
5903904
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,9 @@ import tensorflow as tf
|
|
2 |
from keras.models import load_model
|
3 |
import gradio as gr
|
4 |
from matplotlib import pyplot as plt
|
5 |
-
|
6 |
model = load_model('eee.keras')
|
|
|
7 |
def image_mod(image_mod):
|
8 |
img = cv2.imread(image_mod)
|
9 |
resize = tf.image.resize(img, (256, 256))
|
|
|
2 |
from keras.models import load_model
|
3 |
import gradio as gr
|
4 |
from matplotlib import pyplot as plt
|
5 |
+
import cv2
|
6 |
model = load_model('eee.keras')
|
7 |
+
|
8 |
def image_mod(image_mod):
|
9 |
img = cv2.imread(image_mod)
|
10 |
resize = tf.image.resize(img, (256, 256))
|