Spaces:
Running
on
Zero
Running
on
Zero
add image
Browse files- app.py +1 -1
- modular_graph_and_candidates.py +1 -1
app.py
CHANGED
@@ -95,4 +95,4 @@ with gr.Blocks(css=CUSTOM_CSS) as demo:
|
|
95 |
go_btn.click(run, [repo_in, thresh, multi_cb, sim_radio], [html_out, json_out])
|
96 |
|
97 |
if __name__ == "__main__":
|
98 |
-
demo.launch()
|
|
|
95 |
go_btn.click(run, [repo_in, thresh, multi_cb, sim_radio], [html_out, json_out])
|
96 |
|
97 |
if __name__ == "__main__":
|
98 |
+
demo.launch(allowed_paths=["static"])
|
modular_graph_and_candidates.py
CHANGED
@@ -531,7 +531,7 @@ function updateVisibility() {
|
|
531 |
}
|
532 |
document.getElementById('toggleRed').addEventListener('change', updateVisibility);
|
533 |
|
534 |
-
const HF_LOGO_URI = "static/hf-logo.svg";
|
535 |
const graph = __GRAPH_DATA__;
|
536 |
const W = innerWidth, H = innerHeight;
|
537 |
const svg = d3.select('#dependency').call(d3.zoom().on('zoom', e => g.attr('transform', e.transform)));
|
|
|
531 |
}
|
532 |
document.getElementById('toggleRed').addEventListener('change', updateVisibility);
|
533 |
|
534 |
+
const HF_LOGO_URI = "./static/hf-logo.svg";
|
535 |
const graph = __GRAPH_DATA__;
|
536 |
const W = innerWidth, H = innerHeight;
|
537 |
const svg = d3.select('#dependency').call(d3.zoom().on('zoom', e => g.attr('transform', e.transform)));
|