ritujadebnath commited on
Commit
d93389d
·
verified ·
1 Parent(s): 56edbf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ import time
4
 
5
  # Initialize the Gemini API
6
  gemini_api_key = "GOOGLE_API_KEY"
7
- chat_model = ChatGoogleGenerativeAI(api_key=gemini_api_key)
 
8
 
9
  st.title("Job Interview Preparation Bot")
10
 
 
4
 
5
  # Initialize the Gemini API
6
  gemini_api_key = "GOOGLE_API_KEY"
7
+ model_identifier = "models/gemini-v1"
8
+ chat_model = ChatGoogleGenerativeAI(api_key=gemini_api_key, model=model_identifier)
9
 
10
  st.title("Job Interview Preparation Bot")
11