ramuenugurthi/MiniMaxAI-MiniMax-M2
3
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 MiniMaxAI/MiniMax-M2 model, served by the novita API. Sign in with your Hugging Face account to use this API.")7 button = gr.LoginButton("Sign in")8 gr.load("models/MiniMaxAI/MiniMax-M2", accept_token=button, provider="novita")9 10demo.launch()