refactor: fix HF_HOME.
This commit is contained in:
parent
22bc1931c8
commit
6f04b99aef
2
main.py
2
main.py
@ -81,7 +81,7 @@ def dev():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
os.environ['HF_HOME'] = '/opt/maxkb/model/base'
|
os.environ['HF_HOME'] = '/opt/maxkb-app/model/base'
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description="""
|
description="""
|
||||||
qabot service control tools;
|
qabot service control tools;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user