Skip to content

Commit

Permalink
fix load_config (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceceliachenen authored Aug 30, 2024
1 parent 7883adf commit e078011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pai_rag/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def serve(host, port, config_file, workers, enable_example, skip_download_models
if not skip_download_models and DEFAULT_MODEL_DIR != EAS_DEFAULT_MODEL_DIR:
logger.info("Start to download models.")
ModelScopeDownloader().load_basic_models()
ModelScopeDownloader.load_mineru_config()
ModelScopeDownloader().load_mineru_config()
logger.info("Finished downloading models.")
else:
logger.info("Start to loading minerU config file.")
Expand Down

0 comments on commit e078011

Please # to comment.