rongyuan commited on
Commit
afa58e5
·
1 Parent(s): 8f71425

Fix errors and change the name of the project to Debug-XAI

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. frontend/index.html +1 -1
app.py CHANGED
@@ -705,7 +705,7 @@ async def get_trace_details(dataset: str, trace_file: str):
705
  "dtype": str(metadata.get("dtype", "float16")).replace("torch.", ""),
706
  "quantization": False,
707
  "prompt": trace_data.get("prompt", ""),
708
- "raw_prompt": trace_data.get("query", ""),
709
  "completion": trace_data.get("completion", ""),
710
  "ground_truth": trace_data.get("ground_truth", ""),
711
  "eval_result": trace_data.get("eval_result", None),
 
705
  "dtype": str(metadata.get("dtype", "float16")).replace("torch.", ""),
706
  "quantization": False,
707
  "prompt": trace_data.get("prompt", ""),
708
+ "raw_prompt": trace_data.get("prompt", ""),
709
  "completion": trace_data.get("completion", ""),
710
  "ground_truth": trace_data.get("ground_truth", ""),
711
  "eval_result": trace_data.get("eval_result", None),
frontend/index.html CHANGED
@@ -170,7 +170,7 @@
170
  <body>
171
  <div id="app">
172
  <header>
173
- <h1>🔍 NeuralPostmortem</h1>
174
  <p style="margin: 10px 0; color: #666;">An Interactive Framework for LLM Failure Analysis</p>
175
  <!-- Method Selector Bar -->
176
  <div id="method-bar" style="margin-top: 12px; display: flex; align-items: center; gap: 15px;">
 
170
  <body>
171
  <div id="app">
172
  <header>
173
+ <h1>🔍 Debug-XAI</h1>
174
  <p style="margin: 10px 0; color: #666;">An Interactive Framework for LLM Failure Analysis</p>
175
  <!-- Method Selector Bar -->
176
  <div id="method-bar" style="margin-top: 12px; display: flex; align-items: center; gap: 15px;">