<｜begin▁of▁sentence｜>### Instruction:
Given the Les Miserables social graph which you can read from a gml file named lesmis.gml, can you use the Louvain method in cdlib to perform community detection? And can you compute the normalized cut for the detected communities?
### Response:
import networkx as nx
from cdlib import algorithms, evaluation

# Load the Les Miserables graph
g = nx.read_gml('lesmis.gml')

# Perform community detection using Louvain algorithm
communities = algorithms.louvain(g)

# Compute the normalized cut for the detected communities
normalized_cut_value = evaluation.normalized_cut(g, communities)

# Print out the result
print(normalized_cut_value)
<|EOT|>
