File size: 250 Bytes
0fb9949
93523d1
3ad86d1
dd7ac9d
 
 
2271f6b
aba5e88
 
1
2
3
4
5
6
7
8
9
import gradio as gr
import os

auth_token = os.environ.get("HUGGING_FACE_HUB_TOKEN")

iface = gr.load(name="mutisya/transcribe-api", hf_token=auth_token, src="spaces")

if __name__ == "__main__":
    iface.queue(api_open=False).launch(show_api=False)