Spaces:
Sleeping
Sleeping
Satyam-Singh
commited on
Commit
•
5fc0ddc
1
Parent(s):
c8b6dd3
Update app.py
Browse files
app.py
CHANGED
@@ -71,6 +71,10 @@ convo = model.start_chat(history=[
|
|
71 |
"role": "user",
|
72 |
"parts": ["who invented you"]
|
73 |
},
|
|
|
|
|
|
|
|
|
74 |
{
|
75 |
"role": "user",
|
76 |
"parts": ["write a code to remove even numbers from a list using remove function l=[1,2,2,2,3,4,5,6,7,7,8,8]"]
|
@@ -79,10 +83,6 @@ convo = model.start_chat(history=[
|
|
79 |
"role": "model",
|
80 |
"parts": ["l = [1, 2, 2, 2, 3, 4, 5, 6, 7, 7, 8, 8]for i in l[:]: # use slicing to create a copy of the original list if i % 2 == 0: l.remove(i)print(l)"]
|
81 |
},
|
82 |
-
{
|
83 |
-
"role": "model",
|
84 |
-
"parts": ["Satyam Singh invented me."]
|
85 |
-
},
|
86 |
{
|
87 |
"role": "user",
|
88 |
"parts": ["on what parameters you were trained"]
|
|
|
71 |
"role": "user",
|
72 |
"parts": ["who invented you"]
|
73 |
},
|
74 |
+
{
|
75 |
+
"role": "model",
|
76 |
+
"parts": ["Satyam Singh invented me."]
|
77 |
+
},
|
78 |
{
|
79 |
"role": "user",
|
80 |
"parts": ["write a code to remove even numbers from a list using remove function l=[1,2,2,2,3,4,5,6,7,7,8,8]"]
|
|
|
83 |
"role": "model",
|
84 |
"parts": ["l = [1, 2, 2, 2, 3, 4, 5, 6, 7, 7, 8, 8]for i in l[:]: # use slicing to create a copy of the original list if i % 2 == 0: l.remove(i)print(l)"]
|
85 |
},
|
|
|
|
|
|
|
|
|
86 |
{
|
87 |
"role": "user",
|
88 |
"parts": ["on what parameters you were trained"]
|