Spaces:
Runtime error
Runtime error
File size: 416 Bytes
0fb9949 93523d1 1278823 0fb9949 3ad86d1 d84caa0 7caf28a |
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("key")
os.environ["HUGGING_FACE_HUB_TOKEN"] = auth_token
iface = gr.load(name="mutisya/transcribe-api-feb24", hf_token=hf_token, src="spaces")
iface.queue(api_open=False).launch(show_api=False) |