Marsouuu commited on
Commit
113c33e
·
verified ·
1 Parent(s): eb11630

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- import google.generativeai as genai
3
  import os
4
  import json
5
  import time
@@ -11,9 +11,9 @@ import tempfile
11
  import shutil
12
 
13
  # Configuration
14
- GOOGLE_API_KEY = "AIzaSyA4ma5pE1pPCzHHn-i9tDWuKqQEgSltMtI"
15
  genai.configure(api_key=GOOGLE_API_KEY)
16
- model = genai.GenerativeModel('gemini-1.5-flash')
17
 
18
  # Interface text (English only)
19
  TEXT = {
 
1
  import gradio as gr
2
+ import google-genai as genai
3
  import os
4
  import json
5
  import time
 
11
  import shutil
12
 
13
  # Configuration
14
+ GOOGLE_API_KEY = "AIzaSyDKl4nWiCv6zNBZEZgmT6Xqz0LDvm1o7UA"
15
  genai.configure(api_key=GOOGLE_API_KEY)
16
+ model = genai.GenerativeModel('gemini-2.5-flash')
17
 
18
  # Interface text (English only)
19
  TEXT = {