Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ genai.configure(api_key=GOOGLE_API_KEY)
|
|
9 |
model = genai.GenerativeModel('gemini-1.5-flash')
|
10 |
|
11 |
def chatbot(messages,history):
|
12 |
-
user_message = messages
|
13 |
response = model.generate_content(user_message)
|
14 |
return response.text
|
15 |
|
|
|
9 |
model = genai.GenerativeModel('gemini-1.5-flash')
|
10 |
|
11 |
def chatbot(messages,history):
|
12 |
+
user_message = messages
|
13 |
response = model.generate_content(user_message)
|
14 |
return response.text
|
15 |
|