Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import tempfile
|
|
7 |
import os
|
8 |
os.environ['CUDA_VISIBLE_DEVICES'] = "0"
|
9 |
# Load your pre-trained model
|
10 |
-
model = load_model('
|
11 |
|
12 |
# Function to preprocess each frame
|
13 |
def preprocess_frame(frame):
|
|
|
7 |
import os
|
8 |
os.environ['CUDA_VISIBLE_DEVICES'] = "0"
|
9 |
# Load your pre-trained model
|
10 |
+
model = load_model('cnn.keras')
|
11 |
|
12 |
# Function to preprocess each frame
|
13 |
def preprocess_frame(frame):
|