<｜begin▁of▁sentence｜>### Instruction:
Given the Internet topology graph, which you can read from a GML file named 'as-22july06.gml', can you use the eigenvector function in cdlib to perform community detection? And how would you print the detected communities?
### Response:
import networkx as nx
from cdlib import algorithms

# Load the graph from 'as-22july06.gml'
G = nx.read_gml('as-22july06.gml')

# Perform community detection using Newman's leading eigenvector method
communities = algorithms.eigenvector(G)

# Print the detected communities
print(communities)
<|EOT|>
