amraly1983 commited on
Commit
f2950eb
·
verified ·
1 Parent(s): 02a97b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -7
app.py CHANGED
@@ -1,10 +1,15 @@
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 speechbrain/sepformer-wham16k-enhancement 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/speechbrain/sepformer-wham16k-enhancement", accept_token=button, provider="hf-inference")
9
-
10
- demo.launch()
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
  with gr.Blocks(fill_height=True) as demo:
4
+ with gr.Row():
5
+ with gr.Column(scale=1):
6
+ gr.Markdown("# Inference Provider")
7
+ gr.Markdown(
8
+ "This Space showcases the speechbrain/sepformer-wham16k-enhancement model, "
9
+ "served by the hf-inference API. Sign in with your Hugging Face account to use this API."
10
+ )
11
+ button = gr.Button("Sign in")
12
+ with gr.Column(scale=3):
13
+ gr.load("models/speechbrain/sepformer-wham16k-enhancement", provider="hf-inference")
14
+
15
+ demo.launch()