radames HF staff commited on
Commit
408eef8
β€’
1 Parent(s): 3635215

roll back temp answer

Browse files
Files changed (1) hide show
  1. frontend/src/routes/index.svelte +1 -1
frontend/src/routes/index.svelte CHANGED
@@ -73,7 +73,7 @@
73
  const randomPrompt: string = promptsFiltered[radomPromptId];
74
  currPromptIndex = prompts.indexOf(randomPrompt);
75
 
76
- answer = 'cat eating noodle'; //randomPrompt.replace(/_/g, ' ');
77
  imagePaths = promptsData[randomPrompt].slice(0, 6);
78
  const clue = [...answer].map((a) => (Math.random() > 0.5 ? '*' : a)).join('');
79
  console.log('%cCLUE: ', 'color: red;font-weight:bold', clue);
73
  const randomPrompt: string = promptsFiltered[radomPromptId];
74
  currPromptIndex = prompts.indexOf(randomPrompt);
75
 
76
+ answer = randomPrompt.replace(/_/g, ' ');
77
  imagePaths = promptsData[randomPrompt].slice(0, 6);
78
  const clue = [...answer].map((a) => (Math.random() > 0.5 ? '*' : a)).join('');
79
  console.log('%cCLUE: ', 'color: red;font-weight:bold', clue);