mgokg commited on
Commit
f8ee82e
·
verified ·
1 Parent(s): 69236b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -119,7 +119,7 @@ class GeminiHandler(AsyncAudioVideoStreamHandler):
119
 
120
  stream = Stream(
121
  handler=GeminiHandler(),
122
- modality="audio-video",
123
  mode="send-receive",
124
  rtc_configuration=get_cloudflare_turn_credentials_async,
125
  time_limit=180 if get_space() else None,
@@ -153,7 +153,7 @@ with gr.Blocks(css=css) as demo:
153
  with gr.Column():
154
  webrtc = WebRTC(
155
  label="Video Chat",
156
- modality="audio-video",
157
  mode="send-receive",
158
  elem_id="video-source",
159
  rtc_configuration=get_cloudflare_turn_credentials_async,
 
119
 
120
  stream = Stream(
121
  handler=GeminiHandler(),
122
+ modality="audio",
123
  mode="send-receive",
124
  rtc_configuration=get_cloudflare_turn_credentials_async,
125
  time_limit=180 if get_space() else None,
 
153
  with gr.Column():
154
  webrtc = WebRTC(
155
  label="Video Chat",
156
+ modality="audio",
157
  mode="send-receive",
158
  elem_id="video-source",
159
  rtc_configuration=get_cloudflare_turn_credentials_async,