Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -206,7 +206,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 206 |
image = WebRTC(label="Stream", rtc_configuration=rtc_configuration)
|
| 207 |
|
| 208 |
image.stream(
|
| 209 |
-
fn=predict, inputs=[image], outputs=[image]
|
| 210 |
)
|
| 211 |
|
| 212 |
if __name__ == "__main__":
|
|
|
|
| 206 |
image = WebRTC(label="Stream", rtc_configuration=rtc_configuration)
|
| 207 |
|
| 208 |
image.stream(
|
| 209 |
+
fn=predict, inputs=[image], outputs=[image], time_limit=60
|
| 210 |
)
|
| 211 |
|
| 212 |
if __name__ == "__main__":
|