Update app.py
Browse files
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.
|
| 5 |
-
gr.
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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()
|