saumyap29 commited on
Commit
32db598
·
1 Parent(s): a9b503f

description fix

Browse files
Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -95,11 +95,13 @@ def process_fn(prompt: str, temperature: float, max_length: int):
95
 
96
  # HARP Model Card
97
  model_card = ModelCard(
98
- name="Text2MIDI (HARP)",
99
- description="Turn your musical ideas into playable MIDI notes! 🎹\n\n"
100
- "Input: Describe what you'd like to hear - example, "
101
- "*“a gentle piano lullaby with soft strings”* \n"
102
- "Output: This model will generate a matching MIDI sequence for playback or editing",
 
 
103
  author="Keshav Bhandari, Abhinaba Roy, Kyra Wang, Geeta Puri, Simon Colton, Dorien Herremans",
104
  tags=["text-to-music", "midi", "generation"]
105
  )
@@ -114,7 +116,7 @@ with gr.Blocks() as demo:
114
  info="Type a short phrase like 'calm piano with flowing arpeggios'.",
115
  ).harp_required(True)
116
  temperature_in = gr.Slider(minimum=0.8, maximum=1.1, value=0.9, step=0.1, label="Creativity", info=(
117
- "Controls how adventurous the generation is.\n"
118
  "Lower = safer and more predictable (structured), "
119
  "Higher = more varied and expressive."
120
  ), interactive=True)
 
95
 
96
  # HARP Model Card
97
  model_card = ModelCard(
98
+ name="Text2MIDI Generation",
99
+ description=(
100
+ "Turn your musical ideas into playable MIDI notes 🎹\n"
101
+ "Input: Describe what you'd like to hear. For example: a gentle piano lullaby with soft strings.\n"
102
+ "Output: This model will generate a matching MIDI sequence for playback or editing.\n"
103
+ "Use the sliders to control the amount of creativity and length."
104
+ ),
105
  author="Keshav Bhandari, Abhinaba Roy, Kyra Wang, Geeta Puri, Simon Colton, Dorien Herremans",
106
  tags=["text-to-music", "midi", "generation"]
107
  )
 
116
  info="Type a short phrase like 'calm piano with flowing arpeggios'.",
117
  ).harp_required(True)
118
  temperature_in = gr.Slider(minimum=0.8, maximum=1.1, value=0.9, step=0.1, label="Creativity", info=(
119
+ "Adjusts how much freedom the model takes while composing.\n"
120
  "Lower = safer and more predictable (structured), "
121
  "Higher = more varied and expressive."
122
  ), interactive=True)