Spaces:
Paused
Paused
Update src/main.py
Browse files- src/main.py +1 -1
src/main.py
CHANGED
|
@@ -53,7 +53,7 @@ async def post_webhook(
|
|
| 53 |
def schedule_retrain(payload: WebhookPayload):
|
| 54 |
# Create the autotrain project
|
| 55 |
try:
|
| 56 |
-
yaml_path = os.path.join(os.getcwd(), "config.yaml")
|
| 57 |
with open(yaml_path) as f:
|
| 58 |
list_doc = yaml.safe_load(f)
|
| 59 |
list_doc['project_name'] = datetime.datetime.now().isoformat()
|
|
|
|
| 53 |
def schedule_retrain(payload: WebhookPayload):
|
| 54 |
# Create the autotrain project
|
| 55 |
try:
|
| 56 |
+
yaml_path = os.path.join(os.getcwd(), "src/config.yaml")
|
| 57 |
with open(yaml_path) as f:
|
| 58 |
list_doc = yaml.safe_load(f)
|
| 59 |
list_doc['project_name'] = datetime.datetime.now().isoformat()
|