Spaces:
Sleeping
Sleeping
File size: 280 Bytes
8fff8c9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | from google import genai
import os
client = genai.Client(api_key=os.getenv("API_KEY"))
with open("prompt.txt", "r") as f:
prompt = f.read()
chat_client = client.chats.create(
model="gemini-2.5-flash"
)
response = chat_client.send_message(prompt)
print(response.text) |