multimodalart HF Staff commited on
Commit
8def6a2
·
verified ·
1 Parent(s): 4400ddc
Files changed (1) hide show
  1. ui/src/app/api/hf-jobs/route.ts +1 -2
ui/src/app/api/hf-jobs/route.ts CHANGED
@@ -613,8 +613,7 @@ def generate_model_card_readme(repo_id: str, config: dict, model_name: str, cura
613
  "text": prompt_text,
614
  "output": {"url": repo_path}
615
  })
616
- prompt_md = prompt_text.replace("`", "\`")
617
- prompt_bullets.append(f"- `{prompt_md}`")
618
 
619
  gallery_section = "<Gallery />\n\n"
620
  if prompt_bullets:
 
613
  "text": prompt_text,
614
  "output": {"url": repo_path}
615
  })
616
+ prompt_bullets.append(f"- {prompt_text}")
 
617
 
618
  gallery_section = "<Gallery />\n\n"
619
  if prompt_bullets: