Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
digidau
/
mot
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
mot
/
utils.py
digidau
Create utils.py
6b48e61
verified
2 months ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
199 Bytes
import
re
def
parse_urls
(
text
):
urls = []
for
line
in
text.splitlines():
line = line.strip()
if
not
line:
continue
urls.append(line)
return
urls