saadpie commited on
Commit
153bf64
·
verified ·
1 Parent(s): ae061ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,11 +5,11 @@ from google import genai
5
 
6
  app = Quart(__name__)
7
 
8
- # Force v1beta version specifically for Multimodal Live API features
9
  client = genai.Client(http_options={'api_version': 'v1beta'})
10
 
11
- # This is the standard model ID for bidirectional streaming
12
- MODEL = "gemini-2.0-flash-exp"
13
 
14
  VOICE_MODES = {
15
  'Zephyr': 'Zephyr', # Default / Balanced
 
5
 
6
  app = Quart(__name__)
7
 
8
+ # Force v1beta version (Required for the 'live' preview models)
9
  client = genai.Client(http_options={'api_version': 'v1beta'})
10
 
11
+ # The exact key from your available_models list
12
+ MODEL = "models/gemini-3.1-flash-live-preview"
13
 
14
  VOICE_MODES = {
15
  'Zephyr': 'Zephyr', # Default / Balanced