argodinho commited on
Commit
fd4edb3
·
1 Parent(s): 5fc45d8

updated app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import gradio as gr
9
  # 1. Load Gemini (API key from environment variables)
10
  GEMINI_KEY = os.environ.get('GEMINI_API_KEY') # Will read from HF Secrets
11
  configure(api_key=GEMINI_KEY) # Initialize Gemini
12
- gemini = GenerativeModel('gemini-pro')
13
 
14
  # 2. Load Indic-TTS
15
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
9
  # 1. Load Gemini (API key from environment variables)
10
  GEMINI_KEY = os.environ.get('GEMINI_API_KEY') # Will read from HF Secrets
11
  configure(api_key=GEMINI_KEY) # Initialize Gemini
12
+ gemini = GenerativeModel('gemini-2.0-flash')
13
 
14
  # 2. Load Indic-TTS
15
  device = "cuda" if torch.cuda.is_available() else "cpu"