Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ async def process_file(file_data: FileProcess):
|
|
98 |
|
99 |
def process_video(video_path):
|
100 |
# Load the image from the provided path
|
101 |
-
img = PILImage.create(
|
102 |
|
103 |
# Make the prediction
|
104 |
classification, _, probs = learn.predict(img)
|
|
|
98 |
|
99 |
def process_video(video_path):
|
100 |
# Load the image from the provided path
|
101 |
+
img = PILImage.create(video_path)
|
102 |
|
103 |
# Make the prediction
|
104 |
classification, _, probs = learn.predict(img)
|