Spaces:
Runtime error
Runtime error
Update start.py
Browse files
start.py
CHANGED
|
@@ -14,6 +14,7 @@ def run_command(command: str, cwd: str = None) -> tuple:
|
|
| 14 |
print(f"Output: {stdout.decode()}")
|
| 15 |
return stdout, stderr
|
| 16 |
|
|
|
|
| 17 |
def download_dataset():
|
| 18 |
"""Download the dataset."""
|
| 19 |
print("Downloading the dataset...")
|
|
@@ -30,6 +31,7 @@ def download_dataset():
|
|
| 30 |
hf_hub_download(repo_id=repo_id, filename=filename, local_dir=output_dir, repo_type="dataset")
|
| 31 |
print("Dataset downloaded successfully.")
|
| 32 |
|
|
|
|
| 33 |
def start():
|
| 34 |
"""Start commands."""
|
| 35 |
print("Starting commands...")
|
|
|
|
| 14 |
print(f"Output: {stdout.decode()}")
|
| 15 |
return stdout, stderr
|
| 16 |
|
| 17 |
+
|
| 18 |
def download_dataset():
|
| 19 |
"""Download the dataset."""
|
| 20 |
print("Downloading the dataset...")
|
|
|
|
| 31 |
hf_hub_download(repo_id=repo_id, filename=filename, local_dir=output_dir, repo_type="dataset")
|
| 32 |
print("Dataset downloaded successfully.")
|
| 33 |
|
| 34 |
+
|
| 35 |
def start():
|
| 36 |
"""Start commands."""
|
| 37 |
print("Starting commands...")
|