prithivMLmods commited on
Commit
6f83f05
·
verified ·
1 Parent(s): 0097859

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -109,9 +109,9 @@ demo = gr.ChatInterface(
109
  ],
110
  stop_btn=None,
111
  examples=[
112
- ["Hello there! How are you doing?"],
113
  ["Can you explain briefly to me what is the Python programming language?"],
114
- ["Explain the plot of Cinderella in a sentence."],
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
  ],