Spaces:
Sleeping
Sleeping
Prathmesh Patil
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
-
from
|
3 |
-
from
|
4 |
import numpy as np
|
5 |
-
from
|
6 |
import cv2 as cv
|
7 |
|
8 |
# Load the trained model
|
@@ -63,4 +63,4 @@ demo = gr.Interface(
|
|
63 |
)
|
64 |
|
65 |
# Launch the Gradio app
|
66 |
-
demo.launch(
|
|
|
1 |
import gradio as gr
|
2 |
+
from keras.preprocessing import image
|
3 |
+
from keras.applications.vgg16 import preprocess_input
|
4 |
import numpy as np
|
5 |
+
from keras.models import load_model
|
6 |
import cv2 as cv
|
7 |
|
8 |
# Load the trained model
|
|
|
63 |
)
|
64 |
|
65 |
# Launch the Gradio app
|
66 |
+
demo.launch()
|