Nikhil0987 commited on
Commit
bed8fd5
·
verified ·
1 Parent(s): 58a2a10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -1,12 +1,12 @@
1
- # import google.generativeai as palm
2
- # import streamlit as st
3
- # import os
4
 
5
- # # Set your API key
6
- # palm.configure(api_key = os.environ['PALM_KEY'])
7
 
8
- # # Select the PaLM 2 model
9
- # model = 'models/text-bison-001'
10
 
11
  import google.generativeai as genai
12
  import streamlit as st
 
1
+ import google.generativeai as palm
2
+ import streamlit as st
3
+ import os
4
 
5
+ # Set your API key
6
+ palm.configure(api_key = os.environ['PALM_KEY'])
7
 
8
+ # Select the PaLM 2 model
9
+ model = 'models/text-bison-001'
10
 
11
  import google.generativeai as genai
12
  import streamlit as st