Rishi-Jain-27 commited on
Commit
be3f607
·
1 Parent(s): 68fd28c

Fixed error in the HTML

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -203,10 +203,6 @@ index_html = """
203
  const result = await client.predict("/generate_flowchart", { src_code: codeValue });
204
  const mermaidSyntax = result.data[0];
205
 
206
- // TEMP DIAGNOSTIC: log the exact string sent to Mermaid so parse
207
- // errors can be reproduced from the raw output. Remove once resolved.
208
- console.log("RAW MERMAID >>>\n" + mermaidSyntax + "\n<<< END");
209
-
210
  // Inject the raw string into a clean layout block and re-trigger parsing
211
  targetDiv.innerHTML = `<pre class="mermaid">${mermaidSyntax}</pre>`;
212
  await mermaid.run();
 
203
  const result = await client.predict("/generate_flowchart", { src_code: codeValue });
204
  const mermaidSyntax = result.data[0];
205
 
 
 
 
 
206
  // Inject the raw string into a clean layout block and re-trigger parsing
207
  targetDiv.innerHTML = `<pre class="mermaid">${mermaidSyntax}</pre>`;
208
  await mermaid.run();