mgokg commited on
Commit
8c883db
·
verified ·
1 Parent(s): 71e0ad8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ async def generate(input_text):
29
  return
30
 
31
  # Initialize the standard client
32
- client = genai.Client(api_key=GEMINI_API_KEY)
33
  model_id = "gemini-2.0-flash-exp" # Ensure this is a valid model ID for your tier
34
 
35
  train_tool = types.Tool(
 
29
  return
30
 
31
  # Initialize the standard client
32
+ client = genai.Client(api_key=GEMINI_API_KEY, http_options={'api_version': 'v1alpha'})
33
  model_id = "gemini-2.0-flash-exp" # Ensure this is a valid model ID for your tier
34
 
35
  train_tool = types.Tool(