Update app.py
Browse files
app.py
CHANGED
|
@@ -175,8 +175,7 @@ with gr.Blocks(title="Object Scanner") as demo:
|
|
| 175 |
camera_input.stream(
|
| 176 |
fn=scan_edges,
|
| 177 |
inputs=camera_input,
|
| 178 |
-
outputs=camera_output
|
| 179 |
-
buffer_size=1
|
| 180 |
)
|
| 181 |
|
| 182 |
# Static scan logic
|
|
@@ -193,3 +192,4 @@ if __name__ == "__main__":
|
|
| 193 |
theme=gr.themes.Soft(),
|
| 194 |
ssr_mode=False
|
| 195 |
)
|
|
|
|
|
|
| 175 |
camera_input.stream(
|
| 176 |
fn=scan_edges,
|
| 177 |
inputs=camera_input,
|
| 178 |
+
outputs=camera_output
|
|
|
|
| 179 |
)
|
| 180 |
|
| 181 |
# Static scan logic
|
|
|
|
| 192 |
theme=gr.themes.Soft(),
|
| 193 |
ssr_mode=False
|
| 194 |
)
|
| 195 |
+
|