root
commited on
Commit
·
801647a
1
Parent(s):
370bf23
ss
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ IMPORTANT INSTRUCTIONS:
|
|
186 |
lyrics = re.sub(r'^\[.*?\].*$', '', lyrics, flags=re.MULTILINE)
|
187 |
|
188 |
# Remove common prefixes and thinking text
|
189 |
-
lyrics = re.sub(r'^(Here are|Here is|These are|This is|Let me|I will|I'll).*?:\s*', '', lyrics, flags=re.IGNORECASE)
|
190 |
lyrics = re.sub(r'^Title:.*?$', '', lyrics, flags=re.MULTILINE).strip()
|
191 |
|
192 |
# Remove all section markers in any format
|
|
|
186 |
lyrics = re.sub(r'^\[.*?\].*$', '', lyrics, flags=re.MULTILINE)
|
187 |
|
188 |
# Remove common prefixes and thinking text
|
189 |
+
lyrics = re.sub(r'^(Here are|Here is|These are|This is|Let me|I will|I\'ll).*?:\s*', '', lyrics, flags=re.IGNORECASE)
|
190 |
lyrics = re.sub(r'^Title:.*?$', '', lyrics, flags=re.MULTILINE).strip()
|
191 |
|
192 |
# Remove all section markers in any format
|