Spaces:
Sleeping
Sleeping
my latest updates.
Browse files
app.py
CHANGED
|
@@ -289,7 +289,7 @@ with gr.Blocks() as demo:
|
|
| 289 |
GeminiHandler(ReplyOnPause(AsyncStreamHandler, can_interrupt=True)),
|
| 290 |
inputs=[webrtc, api_key_state, voice, system_prompt_selector, prompt_selector, model_selector],
|
| 291 |
outputs=[webrtc],
|
| 292 |
-
time_limit=120,
|
| 293 |
concurrency_limit=1,
|
| 294 |
)
|
| 295 |
|
|
|
|
| 289 |
GeminiHandler(ReplyOnPause(AsyncStreamHandler, can_interrupt=True)),
|
| 290 |
inputs=[webrtc, api_key_state, voice, system_prompt_selector, prompt_selector, model_selector],
|
| 291 |
outputs=[webrtc],
|
| 292 |
+
time_limit=120 if get_space() else None,
|
| 293 |
concurrency_limit=1,
|
| 294 |
)
|
| 295 |
|