HugoVoxx commited on
Commit
b48a21c
·
verified ·
1 Parent(s): 6c69a8f

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -2,9 +2,9 @@ import subprocess, os
2
  import regex as re
3
  from deep_translator import GoogleTranslator
4
  def get_grog_api():
5
- return os.get_env("GROQ_API_KEY")
6
  def get_github_token():
7
- return os.get_env("GITHUB_TOKEN")
8
  def translate(input:str) -> str:
9
  translated = GoogleTranslator(source='vi', target='en').translate(text=input)
10
  return translated
 
2
  import regex as re
3
  from deep_translator import GoogleTranslator
4
  def get_grog_api():
5
+ return os.getenv("GROQ_API_KEY")
6
  def get_github_token():
7
+ return os.getenv("GITHUB_TOKEN")
8
  def translate(input:str) -> str:
9
  translated = GoogleTranslator(source='vi', target='en').translate(text=input)
10
  return translated