ai-tube / src /app /server /actions /utils /parsePromptFileName.ts
jbilcke-hf's picture
jbilcke-hf HF staff
hide some features for the beta + improve player
f27679f
raw
history blame
139 Bytes
export function parsePromptFileName(filePath: string): string {
return (filePath || "").replaceAll("prompt_", "").replaceAll(".md", "")
}