Spaces:
Build error
Build error
| import re | |
| text = " 🔊 Chunk 63/63: 98%|###########################################3| 62/63 [05:00<00:03, 3.21s/it]" | |
| match = re.search(r'\[(\d+:\d+)<(\d+:\d+)', text) | |
| if match: | |
| print(f"Elapsed: {match.group(1)}") | |
| print(f"Remaining: {match.group(2)}") | |