Update app.py
Browse files
app.py
CHANGED
@@ -136,7 +136,7 @@ with demo:
|
|
136 |
with gr.Row():
|
137 |
with gr.Column():
|
138 |
url_input = gr.Textbox(lines=2,label='Enter valid image URL here..')
|
139 |
-
original_image = gr.Image(shape=(
|
140 |
with gr.Column():
|
141 |
img_output_from_url = gr.Image(shape=(750,750))
|
142 |
|
@@ -159,7 +159,7 @@ with demo:
|
|
159 |
|
160 |
with gr.TabItem('WebCam'):
|
161 |
with gr.Row():
|
162 |
-
web_input = gr.Image(source='webcam',type='pil',shape=(
|
163 |
img_output_from_webcam= gr.Image(shape=(750,750))
|
164 |
|
165 |
cam_but = gr.Button('Detect')
|
|
|
136 |
with gr.Row():
|
137 |
with gr.Column():
|
138 |
url_input = gr.Textbox(lines=2,label='Enter valid image URL here..')
|
139 |
+
original_image = gr.Image(shape=(750,750))
|
140 |
with gr.Column():
|
141 |
img_output_from_url = gr.Image(shape=(750,750))
|
142 |
|
|
|
159 |
|
160 |
with gr.TabItem('WebCam'):
|
161 |
with gr.Row():
|
162 |
+
web_input = gr.Image(source='webcam',type='pil',shape=(750,750),streaming=True)
|
163 |
img_output_from_webcam= gr.Image(shape=(750,750))
|
164 |
|
165 |
cam_but = gr.Button('Detect')
|