Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -109,9 +109,9 @@ demo = gr.ChatInterface(
|
|
109 |
],
|
110 |
stop_btn=None,
|
111 |
examples=[
|
112 |
-
["
|
113 |
["Can you explain briefly to me what is the Python programming language?"],
|
114 |
-
["
|
115 |
["How many hours does it take a man to eat a Helicopter?"],
|
116 |
["Write a 100-word article on 'Benefits of Open-Source in AI research'"],
|
117 |
],
|
|
|
109 |
],
|
110 |
stop_btn=None,
|
111 |
examples=[
|
112 |
+
["Write a Python function to reverses a string if it's length is a multiple of 4. def reverse_string(str1): if len(str1) % 4 == 0: return ''.join(reversed(str1)) return str1 print(reverse_string('abcd')) print(reverse_string('python')) "],
|
113 |
["Can you explain briefly to me what is the Python programming language?"],
|
114 |
+
["Difference between List comprehension and Lambda in Python lst = [x ** 2 for x in range (1, 11) if x % 2 == 1] print(lst)"],
|
115 |
["How many hours does it take a man to eat a Helicopter?"],
|
116 |
["Write a 100-word article on 'Benefits of Open-Source in AI research'"],
|
117 |
],
|