Platma commited on
Commit
0d91645
·
verified ·
1 Parent(s): 18ab679

Update src/main.py

Browse files
Files changed (1) hide show
  1. 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()