nan commited on
Commit
5c64de7
·
1 Parent(s): c3ad4e9

fix: fix the prompt in the prompt

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -154,7 +154,7 @@ To use `ReaderLM-v2` locally:
154
  instruction = "Extract the main content from the given HTML and convert it to Markdown format."
155
  if schema:
156
  instruction = "Extract the specified information from a list of news threads and present it in a structured JSON format."
157
- prompt = f"{instruction}\n```html\n{text}\n```\nThe JSON schema is as follows:```json{schema}```"
158
  else:
159
  prompt = f"{instruction}\n```html\n{text}\n```"
160
 
 
154
  instruction = "Extract the main content from the given HTML and convert it to Markdown format."
155
  if schema:
156
  instruction = "Extract the specified information from a list of news threads and present it in a structured JSON format."
157
+ prompt = f"{instruction}\n```html\n{text}\n```\nThe JSON schema is as follows:```json\n{schema}\n```"
158
  else:
159
  prompt = f"{instruction}\n```html\n{text}\n```"
160