This should do the trick:
app = dash.Dash(__name__)
app.title = 'This is my App'
app._favicon = ("path_to_folder/your_icon.ico")
.....
.....
if __name__ == '__main__':
app.run_server(debug=True)
Have the same problem, solved with favicon resolution 48x48 pixels, and folder name 'assets':
from dash import Dash
import os
app = Dash(__name__)
app.title = 'Your title'
app._favicon = (os.path.join('assets', 'your_icon.ico'))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.