Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
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 |
-
[
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
)
|