Skip to content

Commit

Permalink
Merge pull request #208 from kokofixcomputers/patch-1
Browse files Browse the repository at this point in the history
um... more errors of the same type
  • Loading branch information
Soulter authored May 4, 2024
2 parents 6c1a2c2 + d4e1c7b commit 9c19642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hugchat/hugchat.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def delete_all_conversations(self) -> None:

r = self.session.post(
f"{self.hf_base_url}/chat/conversations?/delete",
headers={"Referer": "https://huggingface.co/chat"},
headers={"Referer": "https://huggingface.co/chat", "Origin": "https://huggingface.co", "Content-Type": "multipart/form-data; boundary=----WebKitFormBoundarywrIEW0Ame78HYisT"},
cookies=self.get_cookies(),
allow_redirects=True,
files=settings,
Expand Down

0 comments on commit 9c19642

Please sign in to comment.