Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import tensorflow as tf
|
2 |
import gradio as gr
|
3 |
import cv2
|
|
|
4 |
|
5 |
used_model = tf.keras.layers.TFSMLayer(os.path.dirname('/model'), call_endpoint='serving_default')
|
6 |
new_classes = ['blight', 'common_rust', 'gray_leaf_spot','healthy']
|
|
|
1 |
import tensorflow as tf
|
2 |
import gradio as gr
|
3 |
import cv2
|
4 |
+
import os
|
5 |
|
6 |
used_model = tf.keras.layers.TFSMLayer(os.path.dirname('/model'), call_endpoint='serving_default')
|
7 |
new_classes = ['blight', 'common_rust', 'gray_leaf_spot','healthy']
|