Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ hf_token = os.environ.get("HF_TOKEN")
|
|
| 10 |
# Client initialization (v1beta is required for Google Search as a tool)
|
| 11 |
client_genai = genai.Client(
|
| 12 |
api_key=os.environ.get("GEMINI_API_KEY"),
|
| 13 |
-
http_options=types.HttpOptions(api_version="v1beta"),
|
| 14 |
)
|
| 15 |
|
| 16 |
SYSTEM_PROMPT = "antworte kurz und knapp. optimiere deine antwort für sprachausgabe."
|
|
|
|
| 10 |
# Client initialization (v1beta is required for Google Search as a tool)
|
| 11 |
client_genai = genai.Client(
|
| 12 |
api_key=os.environ.get("GEMINI_API_KEY"),
|
| 13 |
+
#http_options=types.HttpOptions(api_version="v1beta"),
|
| 14 |
)
|
| 15 |
|
| 16 |
SYSTEM_PROMPT = "antworte kurz und knapp. optimiere deine antwort für sprachausgabe."
|