alexrastorguev commited on
Commit
1ad7e9b
·
verified ·
1 Parent(s): 72e942a

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ with gr.Blocks(fill_height=True) as demo:
4
+ with gr.Sidebar():
5
+ gr.Markdown("# Inference Provider")
6
+ gr.Markdown("This Space showcases the Qwen/Qwen2-Audio-7B-Instruct model, served by the sambanova API. Sign in with your Hugging Face account to use this API.")
7
+ button = gr.LoginButton("Sign in")
8
+ gr.load("models/Qwen/Qwen2-Audio-7B-Instruct", accept_token=button, provider="sambanova")
9
+
10
+ demo.launch()