Guru-25 commited on
Commit
2784ae0
·
verified ·
1 Parent(s): ffaa468

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -559,15 +559,15 @@ def create_video_interface():
559
  fn=analyze_video,
560
  inputs=gr.Video(),
561
  outputs=gr.Video(),
562
- title="Video Analysis",
563
- description="Upload a video to analyze gaze and drowsiness."
564
  )
565
  return video_demo
566
 
567
  demo = gr.TabbedInterface(
568
- [create_video_interface(), create_gaze_interface(), create_distraction_interface()],
569
- ["Gaze Video Upload", "Gaze & Drowsiness (Live)", "Distraction Detection (Live)"],
570
- title="Driver Monitoring System"
571
  )
572
 
573
  if __name__ == "__main__":
 
559
  fn=analyze_video,
560
  inputs=gr.Video(),
561
  outputs=gr.Video(),
562
+ title="Gaze Detection",
563
+ description="Analyze gaze in realtime."
564
  )
565
  return video_demo
566
 
567
  demo = gr.TabbedInterface(
568
+ [create_video_interface(), create_distraction_interface()],
569
+ ["Gaze Detection", "Distraction Detection (Live)"],
570
+ title="DriveAware"
571
  )
572
 
573
  if __name__ == "__main__":