Spaces:
Runtime error
Runtime error
fix path
Browse files- src/extract_questions.py +1 -1
src/extract_questions.py
CHANGED
|
@@ -18,7 +18,7 @@ from config import config
|
|
| 18 |
|
| 19 |
def get_data(artifact_name: str, total_episodes: int = None):
|
| 20 |
podcast_artifact = wandb.use_artifact(artifact_name, type="dataset")
|
| 21 |
-
podcast_artifact_dir = podcast_artifact.download(config.
|
| 22 |
filename = artifact_name.split(":")[0].split("/")[-1]
|
| 23 |
df = pd.read_csv(os.path.join(podcast_artifact_dir, f"{filename}.csv"))
|
| 24 |
if total_episodes is not None:
|
|
|
|
| 18 |
|
| 19 |
def get_data(artifact_name: str, total_episodes: int = None):
|
| 20 |
podcast_artifact = wandb.use_artifact(artifact_name, type="dataset")
|
| 21 |
+
podcast_artifact_dir = podcast_artifact.download(config.root_artifact_dir)
|
| 22 |
filename = artifact_name.split(":")[0].split("/")[-1]
|
| 23 |
df = pd.read_csv(os.path.join(podcast_artifact_dir, f"{filename}.csv"))
|
| 24 |
if total_episodes is not None:
|