Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -198,6 +198,13 @@ with gr.Blocks(theme=blue_theme, title="Audio ControlNet – Text to Audio") as
|
|
| 198 |
)
|
| 199 |
|
| 200 |
with gr.Tabs() as tabs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
with gr.Tab("Loudness") as tab_loudness:
|
| 202 |
with gr.Row():
|
| 203 |
with gr.Column(scale=1):
|
|
@@ -212,13 +219,6 @@ with gr.Blocks(theme=blue_theme, title="Audio ControlNet – Text to Audio") as
|
|
| 212 |
with gr.Column(scale=1):
|
| 213 |
pitch_plot = gr.Plot(label="Pitch Curve (Reference Audio)", elem_classes="plot-small")
|
| 214 |
|
| 215 |
-
with gr.Tab("Sound Events") as tab_events:
|
| 216 |
-
with gr.Row():
|
| 217 |
-
with gr.Column(scale=1):
|
| 218 |
-
sound_events = gr.Textbox(label="Sound Events (JSON)", placeholder=EVENTS_PLACEHOLDER, lines=8)
|
| 219 |
-
with gr.Column(scale=1):
|
| 220 |
-
events_plot = gr.Plot(label="Sound Events Roll", elem_classes="plot-small")
|
| 221 |
-
|
| 222 |
generate_btn = gr.Button("Generate Audio", variant="primary")
|
| 223 |
|
| 224 |
with gr.Column(scale=1):
|
|
|
|
| 198 |
)
|
| 199 |
|
| 200 |
with gr.Tabs() as tabs:
|
| 201 |
+
with gr.Tab("Sound Events") as tab_events:
|
| 202 |
+
with gr.Row():
|
| 203 |
+
with gr.Column(scale=1):
|
| 204 |
+
sound_events = gr.Textbox(label="Sound Events (JSON)", placeholder=EVENTS_PLACEHOLDER, lines=8)
|
| 205 |
+
with gr.Column(scale=1):
|
| 206 |
+
events_plot = gr.Plot(label="Sound Events Roll", elem_classes="plot-small")
|
| 207 |
+
|
| 208 |
with gr.Tab("Loudness") as tab_loudness:
|
| 209 |
with gr.Row():
|
| 210 |
with gr.Column(scale=1):
|
|
|
|
| 219 |
with gr.Column(scale=1):
|
| 220 |
pitch_plot = gr.Plot(label="Pitch Curve (Reference Audio)", elem_classes="plot-small")
|
| 221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 222 |
generate_btn = gr.Button("Generate Audio", variant="primary")
|
| 223 |
|
| 224 |
with gr.Column(scale=1):
|