Update app.py
Browse files
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=
|
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
|