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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def translate(text,lang):
29
  url = "https://www.bing.com/ttranslatev3?isVertical=1&&IG=13172331D0494B12ABFA8F4454EEB479&IID=translator.5026",
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",
 
29
  url = "https://www.bing.com/ttranslatev3?isVertical=1&&IG=13172331D0494B12ABFA8F4454EEB479&IID=translator.5026",
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",