Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -472,8 +472,7 @@ with gr.Blocks(
|
|
| 472 |
padding: left 12px;
|
| 473 |
animation: pulseColor 3s infinite;
|
| 474 |
transition: transform 0.3s ease;
|
| 475 |
-
|
| 476 |
-
height:80px;
|
| 477 |
}
|
| 478 |
|
| 479 |
.gr-audio:hover {
|
|
@@ -500,12 +499,12 @@ with gr.Blocks(
|
|
| 500 |
character_names = gr.Textbox(label="π§ββοΈ Character Names", elem_id="textarea")
|
| 501 |
with gr.Row(elem_classes="custom-rows"):
|
| 502 |
dialogue = gr.Textbox(label="π¬ Dialogue (optional)", placeholder="e.g. 'Protect the forest!'", elem_id="textarea")
|
| 503 |
-
dialogue_speaker = gr.Textbox(label="π£οΈ Who says the dialogue?", placeholder="e.g. Bramble", elem_id = "
|
| 504 |
|
| 505 |
with gr.Row(elem_classes="custom-rows"):
|
| 506 |
char_styles = gr.Textbox(label="π§₯ Outfit Descriptions", placeholder="e.g. Elora wears a leafy cloak, Bramble has a warrior vest", elem_id="textarea")
|
| 507 |
char_moods = gr.Textbox(label="π Character Moods", placeholder="e.g. Elora is cautious, Bramble is brave", elem_id="textarea")
|
| 508 |
-
bg_style = gr.Dropdown(label="π¨ Background Style", choices=["Realistic", "Cartoon", "Fantasy", "Dark Fantasy"], value="Fantasy"
|
| 509 |
with gr.Group(elem_id="accordion"):
|
| 510 |
with gr.Row(elem_classes="custom-rows"):
|
| 511 |
with gr.Row(elem_classes="custom-rows"):
|
|
@@ -526,7 +525,7 @@ with gr.Blocks(
|
|
| 526 |
tts_btn = gr.Button("π Read Aloud", elem_id="tts-btn")
|
| 527 |
tts_audio = gr.Audio(label="Audio", autoplay=False,elem_classes="gr-audio")
|
| 528 |
|
| 529 |
-
done_btn = gr.Button("β
Done", visible=False, elem_id="done-btn")
|
| 530 |
|
| 531 |
with gr.Group(elem_id="accordion2"):
|
| 532 |
with gr.Row(elem_classes="custom-rows"):
|
|
|
|
| 472 |
padding: left 12px;
|
| 473 |
animation: pulseColor 3s infinite;
|
| 474 |
transition: transform 0.3s ease;
|
| 475 |
+
|
|
|
|
| 476 |
}
|
| 477 |
|
| 478 |
.gr-audio:hover {
|
|
|
|
| 499 |
character_names = gr.Textbox(label="π§ββοΈ Character Names", elem_id="textarea")
|
| 500 |
with gr.Row(elem_classes="custom-rows"):
|
| 501 |
dialogue = gr.Textbox(label="π¬ Dialogue (optional)", placeholder="e.g. 'Protect the forest!'", elem_id="textarea")
|
| 502 |
+
dialogue_speaker = gr.Textbox(label="π£οΈ Who says the dialogue?", placeholder="e.g. Bramble", elem_id = "textarea")
|
| 503 |
|
| 504 |
with gr.Row(elem_classes="custom-rows"):
|
| 505 |
char_styles = gr.Textbox(label="π§₯ Outfit Descriptions", placeholder="e.g. Elora wears a leafy cloak, Bramble has a warrior vest", elem_id="textarea")
|
| 506 |
char_moods = gr.Textbox(label="π Character Moods", placeholder="e.g. Elora is cautious, Bramble is brave", elem_id="textarea")
|
| 507 |
+
bg_style = gr.Dropdown(label="π¨ Background Style", choices=["Realistic", "Cartoon", "Fantasy", "Dark Fantasy"], value="Fantasy")
|
| 508 |
with gr.Group(elem_id="accordion"):
|
| 509 |
with gr.Row(elem_classes="custom-rows"):
|
| 510 |
with gr.Row(elem_classes="custom-rows"):
|
|
|
|
| 525 |
tts_btn = gr.Button("π Read Aloud", elem_id="tts-btn")
|
| 526 |
tts_audio = gr.Audio(label="Audio", autoplay=False,elem_classes="gr-audio")
|
| 527 |
|
| 528 |
+
done_btn = gr.Button("β
Done", visible = False, elem_id="done-btn")
|
| 529 |
|
| 530 |
with gr.Group(elem_id="accordion2"):
|
| 531 |
with gr.Row(elem_classes="custom-rows"):
|