Spaces:
Paused
Paused
Fix examples
Browse files
app.py
CHANGED
@@ -135,8 +135,8 @@ 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 |
-
["
|
139 |
-
["
|
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>>>>>>>"],
|
|
|
135 |
stop_btn=None,
|
136 |
examples=[
|
137 |
["<<<<<<<\nlet x = max(y, 11)\n=======\nvar x = max(y, 12, z)\n>>>>>>>"],
|
138 |
+
["<<<<<<<\nclass 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 |
+
["<<<<<<<\nfunction 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>>>>>>>"],
|