Anshu13 commited on
Commit
7eb6ef1
·
verified ·
1 Parent(s): 956f94a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(