Yaron Koresh commited on
Commit
3752301
·
verified ·
1 Parent(s): 09a3383

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -38,14 +38,11 @@ def translate(text,lang):
38
  url = "https://www.bing.com/ttranslatev3",
39
  params = {
40
  'isVertical': '1',
41
- 'IG': '25FEDD45BDB744CF85D101C01E6596C0',
42
  'IID': 'translator.5026'
43
  },
44
  data = {
45
  'fromLang': 'auto-detect',
46
  'to': lang,
47
- 'token': 'MLfPKZhAXMWZirPdlpeEfN8DB58dZKR-',
48
- 'key': '1722119087131',
49
  'text': text,
50
  'tryFetchingGenderDebiasedTranslations': 'true'
51
  },
 
38
  url = "https://www.bing.com/ttranslatev3",
39
  params = {
40
  'isVertical': '1',
 
41
  'IID': 'translator.5026'
42
  },
43
  data = {
44
  'fromLang': 'auto-detect',
45
  'to': lang,
 
 
46
  'text': text,
47
  'tryFetchingGenderDebiasedTranslations': 'true'
48
  },