Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def classify_video(video):
|
|
| 38 |
if len(Fire)>5 and len(Smoke)>5:
|
| 39 |
return f"Fire and Smoke Spotted"
|
| 40 |
else:
|
| 41 |
-
return class_names[max(predictions)
|
| 42 |
Description="An MobileNET model trained to classify Fire and Smoke through Videos"
|
| 43 |
Article="Created at jupyter NoteBook with GPU NVIDIA_GeForce_MX350"
|
| 44 |
gr.Interface(
|
|
|
|
| 38 |
if len(Fire)>5 and len(Smoke)>5:
|
| 39 |
return f"Fire and Smoke Spotted"
|
| 40 |
else:
|
| 41 |
+
return class_names[max(predictions)]
|
| 42 |
Description="An MobileNET model trained to classify Fire and Smoke through Videos"
|
| 43 |
Article="Created at jupyter NoteBook with GPU NVIDIA_GeForce_MX350"
|
| 44 |
gr.Interface(
|