mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-20 12:39:07 +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:
parent
d8c080ee52
commit
4d47b2b459
@ -279,7 +279,7 @@ def main():
|
|||||||
callback(-1, "Embedding error:{}".format(str(e)))
|
callback(-1, "Embedding error:{}".format(str(e)))
|
||||||
cron_logger.error(str(e))
|
cron_logger.error(str(e))
|
||||||
tk_count = 0
|
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))
|
callback(msg="Finished embedding({:.2f})! Start to build index!".format(timer()-st))
|
||||||
init_kb(r)
|
init_kb(r)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user