Unukonda commited on
Commit
3f02fcc
1 Parent(s): 77be689

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -10,9 +10,8 @@ Original file is located at
10
 
11
  import google.generativeai as palm
12
  import gradio as gr
13
- from google.colab import userdata
14
 
15
- palm.configure(api_key=userdata.get('API_KEY'))
16
 
17
  models = [m for m in palm.list_models() if 'generateText' in m.supported_generation_methods]
18
  model = models[0].name
 
10
 
11
  import google.generativeai as palm
12
  import gradio as gr
 
13
 
14
+ palm.configure(api_key='AIzaSyAtWxs2QIiiWfvKaIUxoVEfUOF5fnLWA60')
15
 
16
  models = [m for m in palm.list_models() if 'generateText' in m.supported_generation_methods]
17
  model = models[0].name