AD2000X commited on
Commit
a87b19b
·
verified ·
1 Parent(s): d9d243e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -332,6 +332,8 @@ def render_semantic_path_tab():
332
  "text": " → ".join(path_text)
333
  }
334
 
 
 
335
  visualize_path(path_info, ontology_manager)
336
  else:
337
  st.warning(f"No paths of length {max_length} or shorter were found between these entities.")
@@ -341,6 +343,7 @@ def render_semantic_path_tab():
341
  # Alias for compatibility with app.py call site
342
  run_semantic_path_visualization = render_semantic_path_tab
343
 
 
344
  def run_reasoning_trace():
345
  st.title("Reasoning Trace Visualization")
346
 
 
332
  "text": " → ".join(path_text)
333
  }
334
 
335
+ # Render full visualization outside nested expander
336
+ st.subheader("Path Visualization")
337
  visualize_path(path_info, ontology_manager)
338
  else:
339
  st.warning(f"No paths of length {max_length} or shorter were found between these entities.")
 
343
  # Alias for compatibility with app.py call site
344
  run_semantic_path_visualization = render_semantic_path_tab
345
 
346
+
347
  def run_reasoning_trace():
348
  st.title("Reasoning Trace Visualization")
349