Skip to content

Commit

Permalink
fixed key benefits
Browse files Browse the repository at this point in the history
fixed key benefits
  • Loading branch information
kazunori279 committed Feb 5, 2025
1 parent 9e0b984 commit 0708d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gemini/sample-apps/gemini-quart-cloudrun/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Interruption example with the demo chat app

**Key Benefits building Gen AI app with Quart + Gemini Live API:**

- **Responsiveness and Natural Conversation:** Quart supports non-blocking, full-duplex WebSocket communication natively, crucial for a truly interactive Gen AI experience. It doesn't halt while waiting for Gemini, ensuring quick replies and a smooth conversation flow, especially when the app supports multimodal interaction using audio and images and is network-latency sensitive. Users can send text or voice messages in quick succession, and Quart handles them and interrupts with less delays (as shown in the demo animation above).
- **Responsiveness and Natural Conversation:** Quart supports non-blocking, full-duplex WebSocket communication natively, crucial for a truly interactive Gen AI experience. It doesn't halt while waiting for Gemini, ensuring quick replies and a smooth conversation flow, especially when the app supports multimodal interaction using audio and images and is network-latency sensitive. Users can send text or voice messages in quick succession, and Quart handles them and interrupts with less delays.
- **Concurrency and Scalability:** Handles many users and their messages simultaneously. Quart can process multiple requests and replies with Gemini concurrently, making the gen AI app faster and more efficient. Quart makes better use of server resources with the single thread event-loop design, leading to lower operational costs and better scalability.

### Flask (blocking) v. Quart (non-blocking)
Expand Down

0 comments on commit 0708d7d

Please sign in to comment.