mutisya commited on
Commit
aba5e88
·
verified ·
1 Parent(s): 7caf28a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -12,4 +12,6 @@ auth_token = os.environ.get("key")
12
  os.environ["HUGGING_FACE_HUB_TOKEN"] = auth_token
13
 
14
  iface = gr.load(name="mutisya/transcribe-api-feb24", hf_token=hf_token, src="spaces")
15
- iface.queue(api_open=False).launch(show_api=False)
 
 
 
12
  os.environ["HUGGING_FACE_HUB_TOKEN"] = auth_token
13
 
14
  iface = gr.load(name="mutisya/transcribe-api-feb24", hf_token=hf_token, src="spaces")
15
+
16
+ if __name__ == "__main__":
17
+ iface.queue(api_open=False).launch(show_api=False)