SunilGopal commited on
Commit
9657edf
1 Parent(s): 6a662e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -5
app.py CHANGED
@@ -80,8 +80,12 @@ def ui(launch_kwargs):
80
  with gr.Blocks() as demo:
81
  gr.Markdown(
82
  """
83
- # MusicGen
84
- This demo uses the MusicGen model to generate music based on a text prompt.
 
 
 
 
85
  """
86
  )
87
  with gr.Row():
@@ -93,9 +97,16 @@ def ui(launch_kwargs):
93
  submit.click(predict, inputs=[text, duration], outputs=[audio_output])
94
 
95
  gr.Markdown("""
96
- ### More details
97
-
98
- This model generates audio based on a textual description. You can specify the duration of the generated audio.
 
 
 
 
 
 
 
99
  """)
100
 
101
  demo.queue(max_size=8 * 4).launch(**launch_kwargs)
 
80
  with gr.Blocks() as demo:
81
  gr.Markdown(
82
  """
83
+ # MelodyLM: Generate Music from Text.
84
+ Team Members:
85
+ 1. Sunil Gopal C V
86
+ 2. Sudhan S
87
+ 3. Shreyas Gutti Srinivas
88
+ 4. Sushanth R
89
  """
90
  )
91
  with gr.Row():
 
97
  submit.click(predict, inputs=[text, duration], outputs=[audio_output])
98
 
99
  gr.Markdown("""
100
+ ## Guide:
101
+ ### Input:
102
+ 1. Text Structure: Provide a short, descriptive phrase or sentence that encapsulates the mood, genre, and style of the music you want. For example, "Pop dance track with catchy melodies, tropical percussion, and upbeat rhythms, perfect for the beach."
103
+ 2. Keywords and Phrases: Mention specific musical elements you want to include, such as instruments (e.g., guitar, piano), styles (e.g., jazz, classical), or other characteristics (e.g., slow, fast, mellow, energetic).
104
+ 3. Examples:
105
+ - Example 1: "Relaxing ambient track with soft piano, gentle synths, and a serene atmosphere."
106
+ - Example 2: "Energetic rock song with electric guitar riffs, powerful drums, and a lively tempo."
107
+
108
+ ### Output:
109
+ You can play, pause, and download the generated music track based on your input description.
110
  """)
111
 
112
  demo.queue(max_size=8 * 4).launch(**launch_kwargs)