mirror of
https://github.com/yuruotong1/autoMate.git
synced 2026-03-22 04:57:18 +08:00
delete flo
This commit is contained in:
@@ -3,7 +3,6 @@ from pathlib import Path
|
||||
|
||||
__WEIGHTS_DIR = Path("weights")
|
||||
OMNI_PARSER_DIR = os.path.join(__WEIGHTS_DIR, "AI-ModelScope", "OmniParser-v2___0")
|
||||
FLORENCE_DIR = os.path.join(__WEIGHTS_DIR, "AI-ModelScope", "Florence-2-base-ft")
|
||||
def download():
|
||||
from modelscope import snapshot_download
|
||||
# Create weights directory
|
||||
@@ -13,9 +12,5 @@ def download():
|
||||
cache_dir='weights',
|
||||
)
|
||||
|
||||
snapshot_download(
|
||||
'AI-ModelScope/Florence-2-base-ft',
|
||||
cache_dir='weights' )
|
||||
|
||||
if __name__ == "__main__":
|
||||
download()
|
||||
Reference in New Issue
Block a user