Update app.py
Browse files
app.py
CHANGED
|
@@ -60,9 +60,7 @@ def live_detect(img):
|
|
| 60 |
return Image.fromarray(frame)
|
| 61 |
|
| 62 |
# GradIO User Interface (UI)
|
| 63 |
-
with gr.Blocks(
|
| 64 |
-
#cam {max-width:100%; border-radius:12px;}
|
| 65 |
-
""") as demo:
|
| 66 |
|
| 67 |
gr.Markdown(
|
| 68 |
"""
|
|
@@ -87,4 +85,8 @@ with gr.Blocks(css="""
|
|
| 87 |
|
| 88 |
gr.Markdown("<hr><center><b>Developed by Phani</b></center>")
|
| 89 |
|
| 90 |
-
demo.queue(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
return Image.fromarray(frame)
|
| 61 |
|
| 62 |
# GradIO User Interface (UI)
|
| 63 |
+
with gr.Blocks() as demo:
|
|
|
|
|
|
|
| 64 |
|
| 65 |
gr.Markdown(
|
| 66 |
"""
|
|
|
|
| 85 |
|
| 86 |
gr.Markdown("<hr><center><b>Developed by Phani</b></center>")
|
| 87 |
|
| 88 |
+
demo.queue().launch(
|
| 89 |
+
css="""
|
| 90 |
+
#cam {max-width:100%; border-radius:12px;}
|
| 91 |
+
"""
|
| 92 |
+
)
|