mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-14 02:45:53 +08:00
bugfix eval run
This commit is contained in:
parent
d211240f58
commit
570dc28da2
6
.github/scripts/eval_run.py
vendored
6
.github/scripts/eval_run.py
vendored
@ -1,8 +1,14 @@
|
|||||||
import requests
|
import requests
|
||||||
import argparse
|
import argparse
|
||||||
import sys
|
import sys
|
||||||
|
import os
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
# TODO: remove this
|
||||||
|
print(f"Current working directory: {os.getcwd()}")
|
||||||
|
print(f"Script location: {os.path.abspath(__file__)}")
|
||||||
|
print(f"Directory contents: {os.listdir('.')}")
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description='Run evaluation benchmark')
|
parser = argparse.ArgumentParser(description='Run evaluation benchmark')
|
||||||
parser.add_argument('--label', required=True, help='Label for the evaluation run')
|
parser.add_argument('--label', required=True, help='Label for the evaluation run')
|
||||||
parser.add_argument('--api-url', required=True, help='API URL')
|
parser.add_argument('--api-url', required=True, help='API URL')
|
||||||
|
3
.github/workflows/eval-prod.yml
vendored
3
.github/workflows/eval-prod.yml
vendored
@ -19,6 +19,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
|
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: 'Install dependencies'
|
- name: 'Install dependencies'
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user