fizzarif7 commited on
Commit
f86bb41
Β·
verified Β·
1 Parent(s): 31e3fe4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
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
- width:400px;
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 = "txtarea")
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", elem_id="select")
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"):