Rifd commited on
Commit
610796f
·
1 Parent(s): f9ad14f
Files changed (1) hide show
  1. up.js +1 -1
up.js CHANGED
@@ -19,7 +19,7 @@ const execute = (command) => {
19
 
20
  const push = async (username) => {
21
  try {
22
- const token = await fetch(`https://${username}-cors.hf.space/ev?key=${key}&q=process.env.TOKEN`)
23
  const repoUrl = "huggingface.co/spaces/"+username+"/"+process.env.REPO_NAME
24
 
25
  console.log(await execute('git add .'))
 
19
 
20
  const push = async (username) => {
21
  try {
22
+ const token = await fetch(`https://${username}-cors.hf.space/ev?key=${key}&q=process.env.TOKEN`).then(a => a.text())
23
  const repoUrl = "huggingface.co/spaces/"+username+"/"+process.env.REPO_NAME
24
 
25
  console.log(await execute('git add .'))