Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def getTextTrans(text, source='zh', target='en'):
|
|
23 |
except Exception as e:
|
24 |
return text
|
25 |
|
26 |
-
session_token = os.environ.get('
|
27 |
# logger.info(f"session_token_: {session_token}")
|
28 |
|
29 |
def get_api():
|
|
|
23 |
except Exception as e:
|
24 |
return text
|
25 |
|
26 |
+
session_token = os.environ.get('eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..S2jYWYp4B2P36lct.v3kf-ZoUmanUY3MuEHodpzQwFhuNx6Dm3iAusTf8JiHRrPhLaxL3Z4BZjqXdAC923q5EXxxt9wnWTuY4-Thbb5qna5z3UZ_ZEOw8_9hrGcWuEz_GvTz1Y1e885xOqB9meFaZr2HGJ408sGhrrvbI5PHXpkwjHcQrwNeT8GkiT49at-Du8YzwPmHQxY11PHli9QXHspldvGmrCWXpX1fA_wfdY6xZ2o_CG_gA2ZKWum75WAlZO14nyqi6O6SheHwW6z2mNW3EMxrdmjH3JKhsTN5Y_N4PXWtWsT0SaDQConkCZtPs3DxW_qibM1CFmaaGa7c5cY5Gq1exP3ojJBVlwssRyXXvV4rT2Rw-5swufIH6bRWdqcK9BEUvwMh_6iLDp9WX5JDm2TeYGzRvAHvovPtOh3_3ar3MKdjxzMrcXu9V8usF21_P3pDJ25enlyse1W73JDXKgL32rj79btSY0RVH4YS6AuB2KRfDTton8YkDgeQjQqdEjbA23xPLw8ZhlxDj4zhJYIn2tIUagz2SyzEIfQGjiupTzDvribhk56v1DDmgJbYgQ3ppecF9vrzypHWFah9NJ-OMhdNPQqa7YjfYbq29f34axvvH28MpUkNL3lnI2swDBnhPPu6vNyXcD8nWTtS2Gd3_27GIFu7LdaP10C36_sAKfXL2Iy_rfOOKUA9E40Lli6an8cw75rcOaRYF2h1sb6IXAz_SsxxaWdKS7LPjK8rzQZpXhi3hFoMRZTuYvIxE0Uk5V1FEz5qzuSvsnHOxsY_yzrdtqbPAk64NglYT1VMwwC8jDYrI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k7NPvQrOSjL014auImO1oKWXG_ZD99xnQbqHJth_PzbGWl6G-jjIS-7amWirGnO6EAitEXBQYgal7_DyjfsyqIYTn81YX7B1-nvUpVEZacfZvP68ll3Amou3eBknrsStHyisdJDdWNH0STgFK2zJnWt9dZ6IWudvIiJ4VzskdrpOLIzyxCuuuejRUn0BlKvHHVRuicPT21kiFcmDolBv37VofKKnaB0AVI0Iea5KvlzcBD02jSIJ5WBfPdwKoml0_KeyWeoN0NXFtZi88KcT9zPtTQ2L9j3cIWP-wb52EoKd6DbrTYxZnAumJFId7btl_wEpVAFy5ktUmn7X-tPUCM8tgHoDSt0HRk4rz47SXDT1Zqf36mfhXuFLSc7elGT1UKWw.j8Io87BNVhDXCs5p4l73NQ')
|
27 |
# logger.info(f"session_token_: {session_token}")
|
28 |
|
29 |
def get_api():
|