Spaces:
Runtime error
Runtime error
File size: 412 Bytes
0fb9949 93523d1 1278823 0fb9949 3ad86d1 dd7ac9d 2271f6b aba5e88 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
from transformers import pipeline
import time
import os
import torch
from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer, pipeline
import numpy as np
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) |