Spaces:
Sleeping
Sleeping
ASG Models
commited on
Commit
•
be43ce0
1
Parent(s):
6cc4283
Update genai_chat_ai.py
Browse files- genai_chat_ai.py +1 -1
genai_chat_ai.py
CHANGED
@@ -21,7 +21,7 @@ model = genai.GenerativeModel(
|
|
21 |
)
|
22 |
|
23 |
def create_chat_session():
|
24 |
-
|
25 |
history=[
|
26 |
{
|
27 |
"role": "user",
|
|
|
21 |
)
|
22 |
|
23 |
def create_chat_session():
|
24 |
+
chat_session = model.start_chat(
|
25 |
history=[
|
26 |
{
|
27 |
"role": "user",
|