smishr-18 commited on
Commit
e21ee65
·
1 Parent(s): 36634eb

Update llm.py

Browse files
Files changed (1) hide show
  1. llm.py +1 -1
llm.py CHANGED
@@ -1,7 +1,7 @@
1
  import pytesseract
2
 
3
  import google.generativeai as palm
4
- api_key = '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' # put your API key here
5
  palm.configure(api_key=api_key)
6
  models = [m for m in palm.list_models() if 'generateText' in m.supported_generation_methods]
7
  model = models[0].name
 
1
  import pytesseract
2
 
3
  import google.generativeai as palm
4
+ api_key = 'AIzaSyB0ZZXzrEz5Q8cRCBPkFJmo6A2tEB3dy8s' # put your API key here
5
  palm.configure(api_key=api_key)
6
  models = [m for m in palm.list_models() if 'generateText' in m.supported_generation_methods]
7
  model = models[0].name