Update app.py
Browse files
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="
|
563 |
-
description="
|
564 |
)
|
565 |
return video_demo
|
566 |
|
567 |
demo = gr.TabbedInterface(
|
568 |
-
[create_video_interface(),
|
569 |
-
["Gaze
|
570 |
-
title="
|
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__":
|