Spaces:
Sleeping
Sleeping
| 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) |