Skip to content

Commit

Permalink
fix a string format error (infiniflow#781)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
  • Loading branch information
KevinHuSh committed May 15, 2024
1 parent d8c080e commit 4d47b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rag/svr/task_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def main():
callback(-1, "Embedding error:{}".format(str(e)))
cron_logger.error(str(e))
tk_count = 0
cron_logger.info("Embedding elapsed({:.2f}): {}".format(r["name"], timer()-st))
cron_logger.info("Embedding elapsed({}): {:.2f}".format(r["name"], timer()-st))

callback(msg="Finished embedding({:.2f})! Start to build index!".format(timer()-st))
init_kb(r)
Expand Down

0 comments on commit 4d47b2b

Please sign in to comment.