vihaan43's picture
initial commit
25ea77d verified
raw
history blame contribute delete
460 Bytes
import gradio as gr
with gr.Blocks(fill_height=True) as demo:
with gr.Sidebar():
gr.Markdown("# Inference Provider")
gr.Markdown("This Space showcases the mistralai/Mistral-7B-Instruct-v0.3 model, served by the novita API. Sign in with your Hugging Face account to use this API.")
button = gr.LoginButton("Sign in")
gr.load("models/mistralai/Mistral-7B-Instruct-v0.3", accept_token=button, provider="novita")
demo.launch()