Toulik commited on
Commit
b11bb96
·
verified ·
1 Parent(s): b83f80e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def call_gpt5_for_metadata(title: str, short_text: str, top_chunks: List[str]) -
88
  "Top content chunks (short):\n"
89
  )
90
  for i, c in enumerate(top_chunks[:6]):
91
- prompt += f"CHUNK_{i+1}: {c[:800].replace('\\n',' ')}\n\n"
92
 
93
  prompt += (
94
  "Task: Produce a single JSON object (machine parseable) with EXACT keys:\n"
 
88
  "Top content chunks (short):\n"
89
  )
90
  for i, c in enumerate(top_chunks[:6]):
91
+ prompt += "CHUNK_{}: {}\n\n".format(i+1, c[:800].replace("\n", " "))
92
 
93
  prompt += (
94
  "Task: Produce a single JSON object (machine parseable) with EXACT keys:\n"