Spaces:
Sleeping
Sleeping
Commit
Β·
9aed552
1
Parent(s):
62bdf6f
Move audio checkbox above audio player
Browse files
app.py
CHANGED
|
@@ -140,10 +140,6 @@ def create_app():
|
|
| 140 |
value=persona_choices[0],
|
| 141 |
label="π Choose your explainer",
|
| 142 |
)
|
| 143 |
-
audio_checkbox = gr.Checkbox(
|
| 144 |
-
label="π Generate audio",
|
| 145 |
-
value=False,
|
| 146 |
-
)
|
| 147 |
|
| 148 |
with gr.Row():
|
| 149 |
audience_input = gr.Textbox(
|
|
@@ -168,6 +164,10 @@ def create_app():
|
|
| 168 |
max_lines=15,
|
| 169 |
)
|
| 170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
audio_output = gr.Audio(
|
| 172 |
label="π Listen to the explanation",
|
| 173 |
type="filepath",
|
|
|
|
| 140 |
value=persona_choices[0],
|
| 141 |
label="π Choose your explainer",
|
| 142 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
|
| 144 |
with gr.Row():
|
| 145 |
audience_input = gr.Textbox(
|
|
|
|
| 164 |
max_lines=15,
|
| 165 |
)
|
| 166 |
|
| 167 |
+
audio_checkbox = gr.Checkbox(
|
| 168 |
+
label="π Generate audio",
|
| 169 |
+
value=False,
|
| 170 |
+
)
|
| 171 |
audio_output = gr.Audio(
|
| 172 |
label="π Listen to the explanation",
|
| 173 |
type="filepath",
|