import gradio as gr from google import genai from google.genai import types import os from dotenv import load_dotenv # Load environment variables load_dotenv() # Configure the Gemini client # NOTE: Make sure your GEMINI_API_KEY is set in your .env file client = genai.Client(api_key=os.environ["GEMINI_API_KEY"]) css = 'footer {visibility: hidden;} #header {display: flex; justify-content: space-between; align-items: center; font-size: 24px; font-weight: bold;} #logo {width: 50px; height: 50px;}' # Define the grounding tool grounding_tool = types.Tool( google_search=types.GoogleSearch() ) template = """
PwC大手町オフィスへのご案内