RendiXD commited on
Commit
46d151f
·
verified ·
1 Parent(s): d9b4a04

Create Dock

Browse files
Files changed (1) hide show
  1. Dock +9 -0
Dock ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ pip install -q -U google-genai
2
+ from google import genai
3
+
4
+ client = genai.Client(api_key="AIzaSyB9mbTLPPqOVYOnmmyetsphJbT1GzKP4pU")
5
+
6
+ response = client.models.generate_content(
7
+ model="gemini-2.0-flash", contents="Explain how AI works in a few words"
8
+ )
9
+ print(response.text)