<｜begin▁of▁sentence｜>### Instruction:
Given the High-energy theory collaborations graph which you can read from a GML file named hep-th.gml, can you use the Louvain method in cdlib to perform community detection? And can you compute the fraction of community nodes having an internal degree higher than the median degree value? Notes: You need to print the fraction over the median degree.
### Response:
import networkx as nx
from cdlib import algorithms, evaluation

# Read the graph
G = nx.read_gml('hep-th.gml')

# Detect communities using the Louvain method
communities = algorithms.louvain(G)

# Compute the Fraction Over Median Degree for the detected communities
fomd = evaluation.fraction_over_median_degree(G, communities)

# Print the result
print(fomd.score)
<|EOT|>
