CoolFace
Apppublic

marianojm/intfloat-multilingual-e5-large-instruct

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
app.py10 linesDownload Raw Back to root
1import gradio as gr2 3with gr.Blocks(fill_height=True) as demo:4    with gr.Sidebar():5        gr.Markdown("# Inference Provider")6        gr.Markdown("This Space showcases the intfloat/multilingual-e5-large-instruct model, served by the hf-inference API. Sign in with your Hugging Face account to use this API.")7        button = gr.LoginButton("Sign in")8    gr.load("models/intfloat/multilingual-e5-large-instruct", accept_token=button, provider="hf-inference")9    10demo.launch()