Skip to content

Commit 26775e5

Browse files
committed
updaye
1 parent 1745e45 commit 26775e5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
PGPASSWORD: ${{ secrets.DIFFUSERS_BENCHMARKS_PGPASSWORD }}
7474
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
7575
run: |
76+
git config --global --add safe.directory /__w/diffusers/diffusers
7677
commit_id=$GITHUB_SHA
7778
commit_msg=$(git show -s --format=%s "$commit_id" | cut -c1-70)
7879
cd benchmarks && python populate_into_db.py "$BRANCH_NAME" "$commit_id" "$commit_msg"

benchmarks/populate_into_db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
def _init_benchmark(conn, branch, commit_id, commit_msg):
17-
metadata = {}
17+
metadata = ""
1818
repository = "huggingface/diffusers"
1919
with conn.cursor() as cur:
2020
cur.execute(

0 commit comments

Comments
 (0)