Molbap HF Staff commited on
Commit
594f222
·
1 Parent(s): ceffe7d
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,10 +85,10 @@ with gr.Blocks(css=CUSTOM_CSS) as demo:
85
  sim_radio = gr.Radio(["jaccard", "embedding"], value="jaccard", label="Similarity metric")
86
  go_btn = gr.Button("Build graph")
87
 
88
- html_out = gr.HTML(elem_id="graph_html", sanitize=False, show_label=False)
89
  json_out = gr.File(label="Download graph.json")
90
 
91
  go_btn.click(run, [repo_in, thresh, multi_cb, sim_radio], [html_out, json_out])
92
 
93
  if __name__ == "__main__":
94
- demo.launch()
 
85
  sim_radio = gr.Radio(["jaccard", "embedding"], value="jaccard", label="Similarity metric")
86
  go_btn = gr.Button("Build graph")
87
 
88
+ html_out = gr.HTML(elem_id="graph_html", show_label=False)
89
  json_out = gr.File(label="Download graph.json")
90
 
91
  go_btn.click(run, [repo_in, thresh, multi_cb, sim_radio], [html_out, json_out])
92
 
93
  if __name__ == "__main__":
94
+ demo.launch()