diff --git a/paddlehub/commands/search.py b/paddlehub/commands/search.py index 725b5c7e4700631411296d39f49a85d9d35cc20b..58c024cdd350a3d21a8d3afb90f690e4197b70e1 100644 --- a/paddlehub/commands/search.py +++ b/paddlehub/commands/search.py @@ -36,7 +36,8 @@ class SearchCommand: results = module_server.search_module(name=argv) for result in results: - table.append(result['name'], result['version'], result['summary']) + if 'Module' == result['type']: + table.append(result['name'], result['version'], result['summary']) print(table) return True