Spaces:
Runtime error
Runtime error
Commit ·
e0808f1
1
Parent(s): a4b6728
Update app.py
Browse files
app.py
CHANGED
|
@@ -154,8 +154,6 @@ def count(im):
|
|
| 154 |
|
| 155 |
with gr.Blocks() as demo:
|
| 156 |
gr.HTML("<center><img style='text-align:center;' src='https://img.freepik.com/free-photo/3d-render-count-fingers-set-hands-counting_107791-15400.jpg?w=826&t=st=1665601182~exp=1665601782~hmac=1ca329157a8c4447f304fc674a69f59b7e96b68d2f8afa3f086c7cb7a58b2597' alt='sample'></center>")
|
| 157 |
-
with gr.Row():
|
| 158 |
-
example_images = gr.Dataset(components=[img_input],samples=[["ex2.jpg"]])
|
| 159 |
|
| 160 |
with gr.Tabs():
|
| 161 |
with gr.TabItem('Upload'):
|
|
@@ -166,6 +164,8 @@ with gr.Blocks() as demo:
|
|
| 166 |
|
| 167 |
with gr.Column():
|
| 168 |
output = gr.Image()
|
|
|
|
|
|
|
| 169 |
|
| 170 |
with gr.TabItem('Webcam'):
|
| 171 |
with gr.Row():
|
|
|
|
| 154 |
|
| 155 |
with gr.Blocks() as demo:
|
| 156 |
gr.HTML("<center><img style='text-align:center;' src='https://img.freepik.com/free-photo/3d-render-count-fingers-set-hands-counting_107791-15400.jpg?w=826&t=st=1665601182~exp=1665601782~hmac=1ca329157a8c4447f304fc674a69f59b7e96b68d2f8afa3f086c7cb7a58b2597' alt='sample'></center>")
|
|
|
|
|
|
|
| 157 |
|
| 158 |
with gr.Tabs():
|
| 159 |
with gr.TabItem('Upload'):
|
|
|
|
| 164 |
|
| 165 |
with gr.Column():
|
| 166 |
output = gr.Image()
|
| 167 |
+
with gr.Row():
|
| 168 |
+
example_images = gr.Dataset(components=[img_input],samples=[["ex2.jpg"]])
|
| 169 |
|
| 170 |
with gr.TabItem('Webcam'):
|
| 171 |
with gr.Row():
|