Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,7 +90,7 @@ demo = gr.Blocks(css=css)
|
|
| 90 |
|
| 91 |
with demo:
|
| 92 |
gr.Markdown(title)
|
| 93 |
-
gr.Image('images/Healthy.png',label = 'Healthy')
|
| 94 |
gr.Markdown(description)
|
| 95 |
gr.Markdown(twitter_link)
|
| 96 |
|
|
@@ -125,7 +125,7 @@ with demo:
|
|
| 125 |
with gr.TabItem('WebCam'):
|
| 126 |
with gr.Row():
|
| 127 |
with gr.Column():
|
| 128 |
-
web_input = gr.Image(source='webcam',type='pil',shape=(
|
| 129 |
with gr.Column():
|
| 130 |
label_from_webcam= gr.Label(num_top_classes=3)
|
| 131 |
|
|
|
|
| 90 |
|
| 91 |
with demo:
|
| 92 |
gr.Markdown(title)
|
| 93 |
+
gr.Image('images/Healthy.png',label = 'Healthy', shape=(250,250))
|
| 94 |
gr.Markdown(description)
|
| 95 |
gr.Markdown(twitter_link)
|
| 96 |
|
|
|
|
| 125 |
with gr.TabItem('WebCam'):
|
| 126 |
with gr.Row():
|
| 127 |
with gr.Column():
|
| 128 |
+
web_input = gr.Image(source='webcam',type='pil',shape=(450,450),streaming=True)
|
| 129 |
with gr.Column():
|
| 130 |
label_from_webcam= gr.Label(num_top_classes=3)
|
| 131 |
|