Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import cv2
|
|
| 4 |
import gradio as gr
|
| 5 |
|
| 6 |
# Load the TensorFlow model
|
| 7 |
-
model = tf.saved_model.load("
|
| 8 |
|
| 9 |
# Define a function to preprocess images
|
| 10 |
def preprocess_image(image):
|
|
|
|
| 4 |
import gradio as gr
|
| 5 |
|
| 6 |
# Load the TensorFlow model
|
| 7 |
+
model = tf.saved_model.load("saved_model.pb") # Update this path if needed
|
| 8 |
|
| 9 |
# Define a function to preprocess images
|
| 10 |
def preprocess_image(image):
|