Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ class GeminiHandler(AsyncAudioVideoStreamHandler):
|
|
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,7 +153,7 @@ with gr.Blocks(css=css) as demo:
|
|
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,
|
|
|
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,
|