khushwant04
commited on
Commit
•
e3edc10
1
Parent(s):
9700118
Update main.py
Browse files
main.py
CHANGED
@@ -1,3 +1,5 @@
|
|
1 |
-
import
|
2 |
-
|
3 |
-
|
|
|
|
|
|
1 |
+
import subprocess
|
2 |
+
|
3 |
+
# Use subprocess.run for better practice
|
4 |
+
subprocess.run(['curl', '-L', 'https://huggingface.co/datasets/khushwant04/Research-Papers/resolve/main/research-papers.tar?download=true', '-o', 'research-papers.tar'], check=True)
|
5 |
+
subprocess.run(['tar', '-xf', 'research-papers.tar'], check=True)
|