removed image
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def fun(img):
|
|
| 24 |
|
| 25 |
return cv2.flip(image[:,:,::-1],1)
|
| 26 |
|
| 27 |
-
with gr.Blocks(title="Realtime Keypoint Detection | Data Science Dojo", css="footer {display:none !important} .output-markdown{display:none !important}"
|
| 28 |
|
| 29 |
with gr.Row():
|
| 30 |
with gr.Column():
|
|
@@ -33,9 +33,7 @@ with gr.Blocks(title="Realtime Keypoint Detection | Data Science Dojo", css="foo
|
|
| 33 |
with gr.Column():
|
| 34 |
output = gr.outputs.Image()
|
| 35 |
|
| 36 |
-
|
| 37 |
-
examples=['ex1.jpg']
|
| 38 |
-
|
| 39 |
input.stream(fn=fun,
|
| 40 |
inputs = input,
|
| 41 |
outputs = output)
|
|
|
|
| 24 |
|
| 25 |
return cv2.flip(image[:,:,::-1],1)
|
| 26 |
|
| 27 |
+
with gr.Blocks(title="Realtime Keypoint Detection | Data Science Dojo", css="footer {display:none !important} .output-markdown{display:none !important}") as demo:
|
| 28 |
|
| 29 |
with gr.Row():
|
| 30 |
with gr.Column():
|
|
|
|
| 33 |
with gr.Column():
|
| 34 |
output = gr.outputs.Image()
|
| 35 |
|
| 36 |
+
|
|
|
|
|
|
|
| 37 |
input.stream(fn=fun,
|
| 38 |
inputs = input,
|
| 39 |
outputs = output)
|