Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -218,10 +218,10 @@ def create_detection_tab():
|
|
| 218 |
with gr.Blocks(title="🚗 Drive Paddy – Drowsiness Detection", theme=gr.themes.Soft()) as app:
|
| 219 |
gr.Markdown("# 🚗 **Drive Paddy**")
|
| 220 |
with gr.Tabs():
|
| 221 |
-
with gr.TabItem("Live Detection"):
|
| 222 |
-
create_detection_tab()
|
| 223 |
with gr.TabItem("About this App"):
|
| 224 |
create_readme_tab()
|
|
|
|
|
|
|
| 225 |
|
| 226 |
if __name__ == "__main__":
|
| 227 |
logging.info("Launching Gradio app…")
|
|
|
|
| 218 |
with gr.Blocks(title="🚗 Drive Paddy – Drowsiness Detection", theme=gr.themes.Soft()) as app:
|
| 219 |
gr.Markdown("# 🚗 **Drive Paddy**")
|
| 220 |
with gr.Tabs():
|
|
|
|
|
|
|
| 221 |
with gr.TabItem("About this App"):
|
| 222 |
create_readme_tab()
|
| 223 |
+
with gr.TabItem("Live Detection"):
|
| 224 |
+
create_detection_tab()
|
| 225 |
|
| 226 |
if __name__ == "__main__":
|
| 227 |
logging.info("Launching Gradio app…")
|