Commit ·
0280a44
1
Parent(s): fc976be
remove: delete 'Soft & Seductive (Maya)' voice tone from all dropdowns
Browse files
app.py
CHANGED
|
@@ -126,7 +126,6 @@ BGM_LINKS = {
|
|
| 126 |
|
| 127 |
VOICE_STYLES = [
|
| 128 |
"Cheerful (Maya)",
|
| 129 |
-
"Soft & Seductive (Maya)",
|
| 130 |
"Excited (Maya)",
|
| 131 |
"Sad & Emotional (Sita)",
|
| 132 |
"Dramatic Narrator (Sita)",
|
|
@@ -376,7 +375,7 @@ with gr.Blocks(title="Maya: Immersive Manga AI", css=CUSTOM_CSS) as demo:
|
|
| 376 |
with gr.Group():
|
| 377 |
gr.Markdown("### ⚙️ Master Settings")
|
| 378 |
comic_upload = gr.File(label="Upload (PDF/EPUB)", file_types=[".pdf", ".epub"], height=80)
|
| 379 |
-
voice_style_comic = gr.Dropdown(choices=VOICE_STYLES, value=VOICE_STYLES[
|
| 380 |
heat_level = gr.Slider(minimum=0, maximum=100, value=50, label="🌶️ Translation Heat Level")
|
| 381 |
|
| 382 |
share_btn = gr.Button("🔗 Share with Friends", variant="secondary", size="sm")
|
|
@@ -394,7 +393,7 @@ with gr.Blocks(title="Maya: Immersive Manga AI", css=CUSTOM_CSS) as demo:
|
|
| 394 |
|
| 395 |
with gr.Accordion("🎭 Character Memory", open=False):
|
| 396 |
char_a_voice = gr.Dropdown(choices=VOICE_STYLES, label="Character A", value=VOICE_STYLES[0])
|
| 397 |
-
char_b_voice = gr.Dropdown(choices=VOICE_STYLES, label="Character B", value=VOICE_STYLES[
|
| 398 |
|
| 399 |
bgm_choice = gr.Dropdown(choices=list(BGM_LINKS.keys()), value="None", label="Background Atmosphere")
|
| 400 |
bgm_player = gr.HTML(value="")
|
|
|
|
| 126 |
|
| 127 |
VOICE_STYLES = [
|
| 128 |
"Cheerful (Maya)",
|
|
|
|
| 129 |
"Excited (Maya)",
|
| 130 |
"Sad & Emotional (Sita)",
|
| 131 |
"Dramatic Narrator (Sita)",
|
|
|
|
| 375 |
with gr.Group():
|
| 376 |
gr.Markdown("### ⚙️ Master Settings")
|
| 377 |
comic_upload = gr.File(label="Upload (PDF/EPUB)", file_types=[".pdf", ".epub"], height=80)
|
| 378 |
+
voice_style_comic = gr.Dropdown(choices=VOICE_STYLES, value=VOICE_STYLES[0], label="Primary Voice")
|
| 379 |
heat_level = gr.Slider(minimum=0, maximum=100, value=50, label="🌶️ Translation Heat Level")
|
| 380 |
|
| 381 |
share_btn = gr.Button("🔗 Share with Friends", variant="secondary", size="sm")
|
|
|
|
| 393 |
|
| 394 |
with gr.Accordion("🎭 Character Memory", open=False):
|
| 395 |
char_a_voice = gr.Dropdown(choices=VOICE_STYLES, label="Character A", value=VOICE_STYLES[0])
|
| 396 |
+
char_b_voice = gr.Dropdown(choices=VOICE_STYLES, label="Character B", value=VOICE_STYLES[0])
|
| 397 |
|
| 398 |
bgm_choice = gr.Dropdown(choices=list(BGM_LINKS.keys()), value="None", label="Background Atmosphere")
|
| 399 |
bgm_player = gr.HTML(value="")
|