saumyap29 commited on
Commit
2d169b5
·
1 Parent(s): 32db598
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -97,10 +97,10 @@ def process_fn(prompt: str, temperature: float, max_length: int):
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"]
@@ -112,8 +112,8 @@ with gr.Blocks() as demo:
112
 
113
  # Inputs
114
  prompt_in = gr.Textbox(
115
- label="Describe Your Music 🎵",
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"
 
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"]
 
112
 
113
  # Inputs
114
  prompt_in = gr.Textbox(
115
+ label="Describe Your Music",
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"