Commit
·
93c90ef
1
Parent(s):
f02d740
Upload app.py with huggingface_hub
Browse files
app.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
with gr.Blocks(title="STAR Online Inference", theme=gr.themes.Soft()) as demo:
|
| 4 |
+
gr.Markdown("# STAR: Speech-to-Audio Generation via Representation Learning")
|
| 5 |
+
|
| 6 |
+
gr.Markdown("""
|
| 7 |
+
<div style="text-align: left; padding: 10px;">
|
| 8 |
+
## 🗣️ Input
|
| 9 |
+
|
| 10 |
+
A brief input speech utterance for the overall audio scene.
|
| 11 |
+
|
| 12 |
+
> Example:A cat meowing and young female speaking
|
| 13 |
+
|
| 14 |
+
#### 🎙️ Input Speech Example
|
| 15 |
+
|
| 16 |
+
#### 🎧️ Output Audio Example
|
| 17 |
+
</div>
|
| 18 |
+
---
|
| 19 |
+
</div>
|
| 20 |
+
""")
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|