Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1681,8 +1681,8 @@ if __name__ == "__main__":
|
|
1681 |
print("\nComponents available:")
|
1682 |
print(manager.get_components())
|
1683 |
|
1684 |
-
|
1685 |
-
|
1686 |
|
1687 |
def _build_component_index(self) -> Dict[str, List[str]]:
|
1688 |
"""Build index of templates by component"""
|
|
|
1681 |
print("\nComponents available:")
|
1682 |
print(manager.get_components())
|
1683 |
|
1684 |
+
self.component_index = self._build_component_index()
|
1685 |
+
self.category_index = self._build_category_index()
|
1686 |
|
1687 |
def _build_component_index(self) -> Dict[str, List[str]]:
|
1688 |
"""Build index of templates by component"""
|