Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ class GeminiHandler(AsyncAudioVideoStreamHandler):
|
|
113 |
if not self.args_set.is_set():
|
114 |
await self.wait_for_args()
|
115 |
if self.session is None:
|
116 |
-
asyncio.create_task(self.connect(self.latest_args[1], self.latest_args[2]
|
117 |
array = await self.audio_queue.get()
|
118 |
return (self.output_sample_rate, array)
|
119 |
|
|
|
113 |
if not self.args_set.is_set():
|
114 |
await self.wait_for_args()
|
115 |
if self.session is None:
|
116 |
+
asyncio.create_task(self.connect(self.latest_args[1], self.latest_args[2], self.latest_args[3], self.latest_args[4], self.latest_args[5], self.latest_args[6], self.latest_args[7]))
|
117 |
array = await self.audio_queue.get()
|
118 |
return (self.output_sample_rate, array)
|
119 |
|