Spaces:
Paused
Paused
add examples
Browse files
app.py
CHANGED
@@ -135,7 +135,10 @@ chat_interface = gr.ChatInterface(
|
|
135 |
stop_btn=None,
|
136 |
examples=[
|
137 |
["<<<<<<<\nlet x = max(y, 11)\n=======\nvar x = max(y, 12, z)\n>>>>>>>"],
|
138 |
-
["class Calculator { \nadd(a, b) {\n return a + b;\n }\n}\n=======\nclass Calculator {\n subtract(a, b) {\n return a - b;\n }\n}\n>>>>>>>"]
|
|
|
|
|
|
|
139 |
["<<<<<<<\n var visibleSets = beatmapSets.Where(s => !s.Filtered).ToList();\n if (!visibleSets.Any())\n return;\n\n=======\n\n var visible = beatmapSets.Where(s => !s.Filtered).ToList();\n if (!visible.Any())\n return false;\n\n>>>>>>>"],
|
140 |
],
|
141 |
)
|
|
|
135 |
stop_btn=None,
|
136 |
examples=[
|
137 |
["<<<<<<<\nlet x = max(y, 11)\n=======\nvar x = max(y, 12, z)\n>>>>>>>"],
|
138 |
+
["class Calculator { \nadd(a, b) {\n return a + b;\n }\n}\n=======\nclass Calculator {\n subtract(a, b) {\n return a - b;\n }\n}\n>>>>>>>"],
|
139 |
+
["<<<<<<< function greet(name) {\n return `Hello, ${name}! Have a good day.`;\n}\n=======\nfunction greet(name, time) {\n return `Good ${time}, ${name}!`;\n}\n>>>>>>>"],
|
140 |
+
["<<<<<<<\nconst user = {\n name: 'John',\n age: 30\n}\n=======\nconst user = {\n name: 'John',\n email: '[email protected]'\n}\n>>>>>>>"],
|
141 |
+
["<<<<<<<\n.btn {\n background-color: blue;\n padding: 10px 20px;\n}\n=======\n.btn {\n border: 1px solid black;\n font-size: 16px;\n}\n>>>>>>>"],
|
142 |
["<<<<<<<\n var visibleSets = beatmapSets.Where(s => !s.Filtered).ToList();\n if (!visibleSets.Any())\n return;\n\n=======\n\n var visible = beatmapSets.Where(s => !s.Filtered).ToList();\n if (!visible.Any())\n return false;\n\n>>>>>>>"],
|
143 |
],
|
144 |
)
|