mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
fix a string format error (#781)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user