Update processor.py
Browse files- processor.py +1 -1
processor.py
CHANGED
|
@@ -401,7 +401,7 @@ The following operations were applied to the source data:
|
|
| 401 |
# 2. Card
|
| 402 |
try:
|
| 403 |
card = self._generate_card(source_id, target_id, recipe, new_license or "unknown")
|
| 404 |
-
card.push_to_hub(target_id, token=self.token)
|
| 405 |
except Exception as e:
|
| 406 |
logger.error(f"Failed to push Dataset Card: {e}")
|
| 407 |
|
|
|
|
| 401 |
# 2. Card
|
| 402 |
try:
|
| 403 |
card = self._generate_card(source_id, target_id, recipe, new_license or "unknown")
|
| 404 |
+
card.push_to_hub(f'{self.username}/{target_id}', token=self.token)
|
| 405 |
except Exception as e:
|
| 406 |
logger.error(f"Failed to push Dataset Card: {e}")
|
| 407 |
|