Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ stream = Stream(
|
|
119 |
modality="audio-video",
|
120 |
mode="send-receive",
|
121 |
rtc_configuration=get_cloudflare_turn_credentials_async,
|
122 |
-
time_limit=
|
123 |
additional_inputs=[
|
124 |
gr.Image(label="Image", type="numpy", sources=["upload", "clipboard"])
|
125 |
],
|
@@ -172,7 +172,7 @@ with gr.Blocks(css=css) as demo:
|
|
172 |
GeminiHandler(),
|
173 |
inputs=[webrtc, image_input],
|
174 |
outputs=[webrtc],
|
175 |
-
time_limit=
|
176 |
concurrency_limit=2 if get_space() else None,
|
177 |
)
|
178 |
|
|
|
119 |
modality="audio-video",
|
120 |
mode="send-receive",
|
121 |
rtc_configuration=get_cloudflare_turn_credentials_async,
|
122 |
+
time_limit=900 if get_space() else None,
|
123 |
additional_inputs=[
|
124 |
gr.Image(label="Image", type="numpy", sources=["upload", "clipboard"])
|
125 |
],
|
|
|
172 |
GeminiHandler(),
|
173 |
inputs=[webrtc, image_input],
|
174 |
outputs=[webrtc],
|
175 |
+
time_limit=600 if get_space() else None,
|
176 |
concurrency_limit=2 if get_space() else None,
|
177 |
)
|
178 |
|