ginipick commited on
Commit
c469047
ยท
verified ยท
1 Parent(s): 6b75540

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -6
app.py CHANGED
@@ -493,6 +493,16 @@ def main():
493
  </div>
494
  """)
495
 
 
 
 
 
 
 
 
 
 
 
496
  with gr.Row():
497
  # ์™ผ์ชฝ ์ž…๋ ฅ ์ปฌ๋Ÿผ
498
  with gr.Column():
@@ -543,7 +553,6 @@ def main():
543
 
544
  # ์˜ˆ์‹œ
545
  gr.Examples(
546
-
547
  examples=[
548
  [
549
  "Pop catchy uplifting romantic love song",
@@ -593,8 +602,6 @@ Baby, you're my everything, my heart is yours
593
  """
594
  ]
595
  ],
596
-
597
-
598
  inputs=[genre_txt, lyrics_txt],
599
  outputs=[]
600
  )
@@ -615,8 +622,6 @@ Baby, you're my everything, my heart is yours
615
 
616
  return demo
617
 
618
-
619
-
620
  if __name__ == "__main__":
621
  demo = main()
622
  demo.queue(max_size=20).launch(
@@ -626,4 +631,4 @@ if __name__ == "__main__":
626
  show_api=True,
627
  show_error=True,
628
  max_threads=8
629
- )
 
493
  </div>
494
  """)
495
 
496
+ # ์˜ˆ์ œ ์Œ์•… ํ”Œ๋ ˆ์ด์–ด ์ถ”๊ฐ€
497
+ with gr.Box(css="padding: 1rem; margin-bottom: 1.5rem; background-color: #f8f9fa; border-radius: 8px;"):
498
+ gr.HTML("""
499
+ <div style="text-align: center; margin-bottom: 0.5rem;">
500
+ <h3 style="margin: 0;">Sample Generated Music</h3>
501
+ <p style="color: #666; margin: 5px 0;">Listen to this example</p>
502
+ </div>
503
+ """)
504
+ gr.Audio("metal.mp3", label="Sample Music")
505
+
506
  with gr.Row():
507
  # ์™ผ์ชฝ ์ž…๋ ฅ ์ปฌ๋Ÿผ
508
  with gr.Column():
 
553
 
554
  # ์˜ˆ์‹œ
555
  gr.Examples(
 
556
  examples=[
557
  [
558
  "Pop catchy uplifting romantic love song",
 
602
  """
603
  ]
604
  ],
 
 
605
  inputs=[genre_txt, lyrics_txt],
606
  outputs=[]
607
  )
 
622
 
623
  return demo
624
 
 
 
625
  if __name__ == "__main__":
626
  demo = main()
627
  demo.queue(max_size=20).launch(
 
631
  show_api=True,
632
  show_error=True,
633
  max_threads=8
634
+ )