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