mutisya commited on
Commit
d16e7d6
·
verified ·
1 Parent(s): 2271f6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -7,12 +7,7 @@ import torch
7
  from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer, pipeline
8
  import numpy as np
9
 
10
-
11
- auth_token = os.environ.get("key")
12
- os.environ["HUGGING_FACE_HUB_TOKEN"] = auth_token
13
-
14
- iface = gr.load(name="mutisya/transcribe-api", hf_token=auth_token, src="spaces")
15
-
16
 
17
  if __name__ == "__main__":
18
  iface.queue(api_open=False).launch(show_api=False)
 
7
  from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer, pipeline
8
  import numpy as np
9
 
10
+ iface = gr.load(name="mutisya/transcribe-api", src="spaces")
 
 
 
 
 
11
 
12
  if __name__ == "__main__":
13
  iface.queue(api_open=False).launch(show_api=False)