julien-c HF staff commited on
Commit
d5c3978
1 Parent(s): 3e12074

Thank you @Kakulukian

Browse files
Files changed (1) hide show
  1. server.ts +1 -0
server.ts CHANGED
@@ -53,6 +53,7 @@ app.post("/", async (req, res) => {
53
  method: "POST",
54
  headers: {
55
  Authorization: `Bearer ${process.env.HF_TOKEN}`,
 
56
  },
57
  body: JSON.stringify({ comment: continuationText }),
58
  });
 
53
  method: "POST",
54
  headers: {
55
  Authorization: `Bearer ${process.env.HF_TOKEN}`,
56
+ "Content-Type": "application/json",
57
  },
58
  body: JSON.stringify({ comment: continuationText }),
59
  });