nikhmr1235 commited on
Commit
3d656c8
·
verified ·
1 Parent(s): 5e4a31b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -235,7 +235,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
235
  text = "[Discography text content from previous observation]" # Replace with actual text
236
  albums_2000_2009 = []
237
  # This is a simplified regex example; actual parsing might be more complex depending on text format
238
- pattern = r"\((\d{4})\)\s*(.*?)(?:\[|\n|$)"
239
  for match in re.finditer(pattern, text):
240
  year = int(match.group(1))
241
  if 2000 <= year <= 2009:
 
235
  text = "[Discography text content from previous observation]" # Replace with actual text
236
  albums_2000_2009 = []
237
  # This is a simplified regex example; actual parsing might be more complex depending on text format
238
+ pattern = r"\((\d{{4}})\s*(.*?)(?:\[|\n|$)"
239
  for match in re.finditer(pattern, text):
240
  year = int(match.group(1))
241
  if 2000 <= year <= 2009: