prithivMLmods commited on
Commit
dc8101f
·
verified ·
1 Parent(s): 33cb38e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -121,8 +121,8 @@ demo = gr.ChatInterface(
121
  stop_btn=None,
122
  examples=[
123
  ["A train travels 60 kilometers per hour. If it travels for 5 hours, how far will it travel in total?"],
124
- ["Write a Python function to check if a number is prime. def is_prime(num): if num < 2: return False for i in range(2, int(num**0.5) + 1): if num % i == 0: return False return True print(is_prime(11)) print(is_prime(15)"],
125
- ["What causes rainbows to form? Rainbows form due to the refraction, reflection, and dispersion of light in water droplets, resulting in a spectrum of colors appearing in the sky."],
126
  ["Rewrite the following sentence in passive voice: 'The dog chased the cat.'"],
127
  ],
128
  cache_examples=False,
 
121
  stop_btn=None,
122
  examples=[
123
  ["A train travels 60 kilometers per hour. If it travels for 5 hours, how far will it travel in total?"],
124
+ ["Write a Python function to check if a number is prime. "],
125
+ ["What causes rainbows to form?"],
126
  ["Rewrite the following sentence in passive voice: 'The dog chased the cat.'"],
127
  ],
128
  cache_examples=False,