deepakaiplanet commited on
Commit
88120b9
·
verified ·
1 Parent(s): 4c81fe1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def translate_text(file, text_input):
35
  repo_id=repo_id,
36
  max_length=128,
37
  temperature=0.5,
38
- huggingfacehub_api_token=api_token,
39
  )
40
 
41
  # Read the input file based on its type
 
35
  repo_id=repo_id,
36
  max_length=128,
37
  temperature=0.5,
38
+ huggingfacehub_api_token=os.environ["api_token"] ,
39
  )
40
 
41
  # Read the input file based on its type