Spaces:
Running
Running
Commit
·
5ccc500
1
Parent(s):
3ae71c5
icon
Browse files
app.py
CHANGED
@@ -32,7 +32,20 @@ def abnormal_stream(image):
|
|
32 |
except Exception as e:
|
33 |
return {str(e): 1.0}
|
34 |
|
35 |
-
with gr.Blocks(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
with gr.Row():
|
37 |
with gr.Column():
|
38 |
input_img = gr.Image(sources=["webcam"], type="pil")
|
|
|
32 |
except Exception as e:
|
33 |
return {str(e): 1.0}
|
34 |
|
35 |
+
with gr.Blocks(
|
36 |
+
analytics_enabled=False,
|
37 |
+
title='졸음운전 알리미',
|
38 |
+
head='''<link rel="apple-touch-icon" sizes="57x57" href="/pwa_icon" />
|
39 |
+
<link rel="apple-touch-icon" sizes="60x60" href="/pwa_icon" />
|
40 |
+
<link rel="apple-touch-icon" sizes="72x72" href="/pwa_icon" />
|
41 |
+
<link rel="apple-touch-icon" sizes="76x76" href="/pwa_icon" />
|
42 |
+
<link rel="apple-touch-icon" sizes="114x114" href="/pwa_icon" />
|
43 |
+
<link rel="apple-touch-icon" sizes="120x120" href="/pwa_icon" />
|
44 |
+
<link rel="apple-touch-icon" sizes="144x144" href="/pwa_icon" />
|
45 |
+
<link rel="apple-touch-icon" sizes="152x152" href="/pwa_icon" />
|
46 |
+
<link rel="apple-touch-icon" sizes="180x180" href="/pwa_icon" />
|
47 |
+
<link rel="apple-touch-icon" sizes="512x512" href="/pwa_icon" />
|
48 |
+
<meta name="theme-color" content="#0f0f11">''') as demo:
|
49 |
with gr.Row():
|
50 |
with gr.Column():
|
51 |
input_img = gr.Image(sources=["webcam"], type="pil")
|