Research-Papers / main.py
khushwant04's picture
Update main.py
e3edc10 verified
raw
history blame contribute delete
308 Bytes
import subprocess
# Use subprocess.run for better practice
subprocess.run(['curl', '-L', 'https://huggingface.co/datasets/khushwant04/Research-Papers/resolve/main/research-papers.tar?download=true', '-o', 'research-papers.tar'], check=True)
subprocess.run(['tar', '-xf', 'research-papers.tar'], check=True)