import gradio as gr def greet(name): return "Hello " + name + "!!" #iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch() iface = gr.Interface.load("models/carlosdanielhernandezmena/wav2vec2-large-xlsr-53-icelandic-ep10-1000h") iface.launch() #https://mercury-docs.readthedocs.io/en/latest/deploy/hugging-face-spaces/ #https://huggingface.co/spaces/pplonski/deploy-mercury #https://discuss.huggingface.co/t/deploy-interactive-jupyter-notebook-on-spaces-with-mercury/17000 #https://huggingface.co/docs/transformers/notebooks