TULLUS commited on
Commit
1d29f6f
·
verified ·
1 Parent(s): ee99394

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -649,7 +649,11 @@ with gr.Blocks(
649
  ["public static int factorial(int n) {", "Java"],
650
  ["int calculate_sum(", "C++"],
651
  ["function formatUser(user: User) {", "TypeScript"],
652
- ["def is_palindrome(s):", """Return True if s reads the same forwards and backwards, ignoring capitalization and punctuation.""", "Python"],
 
 
 
 
653
  inputs=[prompt_box, language],
654
  label="Docking bay / starter prompts",
655
  )
 
649
  ["public static int factorial(int n) {", "Java"],
650
  ["int calculate_sum(", "C++"],
651
  ["function formatUser(user: User) {", "TypeScript"],
652
+ [
653
+ 'def is_palindrome(s):\n """Return True if s reads the same forwards and backwards, ignoring capitalization and punctuation."""\n ',
654
+ "Python",
655
+ ],
656
+ ],
657
  inputs=[prompt_box, language],
658
  label="Docking bay / starter prompts",
659
  )