Update visualization.py
Browse files- visualization.py +2 -2
visualization.py
CHANGED
@@ -29,6 +29,6 @@ def create_medical_graph(query: str, docs: list) -> str:
|
|
29 |
net.add_node(term_id, label=term, color="green")
|
30 |
net.add_edge(doc_id, term_id)
|
31 |
|
32 |
-
# Generate the HTML content directly without
|
33 |
-
html_content = net.generate_html(notebook=False
|
34 |
return html_content
|
|
|
29 |
net.add_node(term_id, label=term, color="green")
|
30 |
net.add_edge(doc_id, term_id)
|
31 |
|
32 |
+
# Generate the HTML content directly without unsupported keyword arguments.
|
33 |
+
html_content = net.generate_html(notebook=False)
|
34 |
return html_content
|