We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a69f34 commit f8e4e35Copy full SHA for f8e4e35
1 file changed
apps/dash-dino/app.py
@@ -81,6 +81,7 @@ def apply_threshold(attentions, w_featmap, h_featmap, threshold, patch_size=16):
81
# Initialize dash app and dash-labs template
82
title = "Zero-shot segmentation with DINO and Dash Labs"
83
app = dash.Dash(__name__, title=title, plugins=[dl.plugins.FlexibleCallbacks()])
84
+server = app.server
85
tpl = dl.templates.DbcSidebar(title=title, theme=dbc.themes.DARKLY)
86
cache = Cache(
87
app.server, config={"CACHE_TYPE": "filesystem", "CACHE_DIR": "flask_cache"},
0 commit comments