mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-09-19 14:30:55 -05:00
18 lines
367 B
Python
18 lines
367 B
Python
|
|
|
|
def add_requirements(platform : str, find_dirs : list):
|
|
if platform == "maixcam":
|
|
return [
|
|
"nn",
|
|
]
|
|
elif platform == "maixcam2":
|
|
return [
|
|
"nn",
|
|
"json"
|
|
]
|
|
elif platform == "linux":
|
|
return []
|
|
else:
|
|
raise Exception("llm component.py not add this platform support yet")
|
|
|