Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def generate_visual_snippet(placeholder_text: str, context: str, initial_query:
|
|
| 64 |
line for line in lines
|
| 65 |
if not (
|
| 66 |
(line.strip().startswith("%%{init:") and line.strip().endswith("%%")) or
|
| 67 |
-
(line.strip().startswith("class") and line.strip().endswith(";"))
|
| 68 |
)
|
| 69 |
]
|
| 70 |
cleanedlines = "\n".join(filtered_lines)
|
|
|
|
| 64 |
line for line in lines
|
| 65 |
if not (
|
| 66 |
(line.strip().startswith("%%{init:") and line.strip().endswith("%%")) or
|
| 67 |
+
(line.strip().startswith("class") and line.strip().endswith(";"))
|
| 68 |
)
|
| 69 |
]
|
| 70 |
cleanedlines = "\n".join(filtered_lines)
|