AttributeError: 'Dash' object has no attribute 'run'

I am new in Dash and just started working with it and I have encountered the error above. Here is a part of my code.

dashboard using dash(plotly)
“”“flask application functions”“”
app = Dash(name)

app.layout = html.Div(children = [
html.H1(children=“mY DASH”,style={
“textAlign”: “center”
}),
html.Div(children=“”"
Visualization of gene trees and orthogroups
“”"),
dcc.Graph(
id= “species-tree”,
figure=species_tree())])
#@app.callback(Output = “id”,
##Output = “children”,
#Output = “figure”
#)

if name == “main”:
app.run.server(debug=True) #port=8050)

Hi @GIDIO001 ,

try app.run(debug=True) or app.run_server(debug=True)