rcodina commited on
Commit
bc62613
·
verified ·
1 Parent(s): d176351

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -3,9 +3,7 @@ import gradio as gr
3
  from google import genai
4
  from google.genai import types
5
 
6
- api_key = os.environ.get("GOOGLE_API")
7
- if not api_key:
8
- raise ValueError("La clau API no s'ha trobat a les variables d'entorn")
9
 
10
  client = genai.Client(api_key=api_key)
11
 
 
3
  from google import genai
4
  from google.genai import types
5
 
6
+ api_key = os.environ.get("API_GOOGLE")
 
 
7
 
8
  client = genai.Client(api_key=api_key)
9