Spaces:
Running
Running
Abdullah Meda
commited on
Commit
·
92dd823
1
Parent(s):
dce5b39
minor edits
Browse files- app.py +1 -1
- make_docs.py +1 -1
app.py
CHANGED
@@ -43,7 +43,7 @@ def list_huggingface_resources_names() -> list[str]:
|
|
43 |
return [repo['title'] for repo in repos]
|
44 |
|
45 |
|
46 |
-
def get_huggingface_documentation(topic: str, resource_names: list[str]) -> str:
|
47 |
"""Get the documentation for the given topic and resource names.
|
48 |
|
49 |
Args:
|
|
|
43 |
return [repo['title'] for repo in repos]
|
44 |
|
45 |
|
46 |
+
def get_huggingface_documentation(topic: str, resource_names: list[str] = []) -> str:
|
47 |
"""Get the documentation for the given topic and resource names.
|
48 |
|
49 |
Args:
|
make_docs.py
CHANGED
@@ -128,5 +128,5 @@ if __name__ == "__main__":
|
|
128 |
with open("repos_config.json", "r") as f:
|
129 |
repos = json.load(f)
|
130 |
|
131 |
-
shutil.rmtree(args.docs_dir)
|
132 |
make_docs(repos, args)
|
|
|
128 |
with open("repos_config.json", "r") as f:
|
129 |
repos = json.load(f)
|
130 |
|
131 |
+
# shutil.rmtree(args.docs_dir)
|
132 |
make_docs(repos, args)
|