* start building docs * add docs * adding docs * get utils done * update docs * update * finished the LoRA node * update * update * add docs * writing docs for text encoder * finished the docs for text encoders * fixing the import errors * update * docs built successfully * add the get_started bullets * update docs * update usage docs * debugging * update docs * update * update * add the two deprecated pulid nodes * add docs * make linter happy * update docs * update * update * update fill * docs: update the wechat link (#395) * update * add a new links * update links * make linter happy * fixing links * fixing links * fixing the links * fixed the links * writing the contribution guide * update * finished the contribution guide * make linter happy * update README * update the workflows * update * update the links of the tests
17 lines
398 B
Python
17 lines
398 B
Python
import requests
|
|
import sphobjinv
|
|
|
|
url = "https://nunchaku.tech/docs/nunchaku/objects.inv"
|
|
response = requests.get(url)
|
|
response.raise_for_status()
|
|
|
|
with open("objects.inv", "wb") as f:
|
|
f.write(response.content)
|
|
|
|
inv = sphobjinv.Inventory("objects.inv")
|
|
|
|
base_url = "https://nunchaku.tech/docs/nunchaku/"
|
|
|
|
for item in inv.objects:
|
|
print(f"{item.name} -> {base_url}{item.uri} ({item.role})")
|