Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -485,6 +485,7 @@ class GeminiHandler(AsyncStreamHandler):
|
|
| 485 |
|
| 486 |
def shutdown(self) -> None:
|
| 487 |
self.quit.set()
|
|
|
|
| 488 |
with gr.Blocks() as demo:
|
| 489 |
gr.Markdown("# Gemini Chained Speech-to-Speech Demo")
|
| 490 |
|
|
@@ -508,7 +509,6 @@ with gr.Blocks() as demo:
|
|
| 508 |
concurrency_limit=2 if get_space() else None,
|
| 509 |
)
|
| 510 |
|
| 511 |
-
|
| 512 |
if __name__ == "__main__":
|
| 513 |
demo.launch(
|
| 514 |
server_name="0.0.0.0",
|
|
|
|
| 485 |
|
| 486 |
def shutdown(self) -> None:
|
| 487 |
self.quit.set()
|
| 488 |
+
|
| 489 |
with gr.Blocks() as demo:
|
| 490 |
gr.Markdown("# Gemini Chained Speech-to-Speech Demo")
|
| 491 |
|
|
|
|
| 509 |
concurrency_limit=2 if get_space() else None,
|
| 510 |
)
|
| 511 |
|
|
|
|
| 512 |
if __name__ == "__main__":
|
| 513 |
demo.launch(
|
| 514 |
server_name="0.0.0.0",
|