matthartman commited on
Commit
636907e
·
verified ·
1 Parent(s): d17661f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=90 if get_space() else None,
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=60 if get_space() else None,
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