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

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 = 'AIzaSyB7-RzBwTAfVA-7ZGk2mEOQwOxshpwzhpM' # 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 = '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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