Yaron Koresh commited on
Commit
d645c73
·
verified ·
1 Parent(s): 781571c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -30,7 +30,6 @@ def translate(text,lang):
30
  referrer = "https://www.bing.com/translator?to=en",
31
  referrerPolicy = "origin-when-cross-origin",
32
  data = f"&fromLang=auto-detect&to={lang}&token=cdkbEXg93_iQE28MFPv9ScrPY_fs2OAw&key=1722124106496&text={text}&tryFetchingGenderDebiasedTranslations=true",
33
- method = "POST",
34
  mode = "cors",
35
  credentials = "include",
36
  headers = {
 
30
  referrer = "https://www.bing.com/translator?to=en",
31
  referrerPolicy = "origin-when-cross-origin",
32
  data = f"&fromLang=auto-detect&to={lang}&token=cdkbEXg93_iQE28MFPv9ScrPY_fs2OAw&key=1722124106496&text={text}&tryFetchingGenderDebiasedTranslations=true",
 
33
  mode = "cors",
34
  credentials = "include",
35
  headers = {