arjunanand13 commited on
Commit
ee7aa19
·
verified ·
1 Parent(s): 0502369

Update txt2sql_code3.py

Browse files
Files changed (1) hide show
  1. 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="AIzaSyAFG94rVbm9eWepO5uPGsMha8XJ-sHbMdA")
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)