add key from file
This commit is contained in:
parent
57d418a4d6
commit
083f67763b
@ -1,7 +1,7 @@
|
||||
import os
|
||||
import google.generativeai as genai
|
||||
|
||||
genai.configure(api_key="AIzaSyAYt9n5dF2ZwOVYTbPV4_T5S0La2u5i1LU")
|
||||
genai.configure(api_key=os.environ["GEMINI_API_KEY"])
|
||||
|
||||
# Create the model
|
||||
generation_config = {
|
||||
|
Loading…
Reference in New Issue
Block a user