Spaces:
Sleeping
Sleeping
Update txt2sql_code3.py
Browse files- txt2sql_code3.py +1 -1
txt2sql_code3.py
CHANGED
@@ -25,7 +25,7 @@ class SQLPromptModel:
|
|
25 |
# self.tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
|
26 |
self.chatgpt_client = OpenAI(api_key="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")
|
27 |
self.genai = genai
|
28 |
-
self.genai.configure(api_key="
|
29 |
self.genai_model = genai.GenerativeModel('gemini-pro')
|
30 |
|
31 |
self.conn = sqlite3.connect(self.database)
|
|
|
25 |
# self.tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
|
26 |
self.chatgpt_client = OpenAI(api_key="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")
|
27 |
self.genai = genai
|
28 |
+
self.genai.configure(api_key="AIzaSyCnuJMrTkckScv0YxAaaQzH1LDomNUUppA")
|
29 |
self.genai_model = genai.GenerativeModel('gemini-pro')
|
30 |
|
31 |
self.conn = sqlite3.connect(self.database)
|