dinhquangson
commited on
Commit
•
de22ebd
1
Parent(s):
bb45124
Update llm.py
Browse files
llm.py
CHANGED
@@ -2,7 +2,7 @@ import pytesseract
|
|
2 |
|
3 |
import google.generativeai as genai
|
4 |
api_key = 'AIzaSyB7-RzBwTAfVA-7ZGk2mEOQwOxshpwzhpM' # put your API key here
|
5 |
-
|
6 |
geminiModel = genai.GenerativeModel(model_name='gemini-pro')
|
7 |
|
8 |
|
|
|
2 |
|
3 |
import google.generativeai as genai
|
4 |
api_key = 'AIzaSyB7-RzBwTAfVA-7ZGk2mEOQwOxshpwzhpM' # put your API key here
|
5 |
+
genai.configure(api_key=api_key)
|
6 |
geminiModel = genai.GenerativeModel(model_name='gemini-pro')
|
7 |
|
8 |
|