Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse filesUpdated default temperature.
app.py
CHANGED
@@ -138,7 +138,7 @@ Generate midi music using Text2midi by providing a text prompt.
|
|
138 |
input_text = gr.Textbox(lines=2, label="Prompt")
|
139 |
output_audio = gr.Audio(label="Generated Music", type="filepath")
|
140 |
output_midi = gr.File(label="Download MIDI File")
|
141 |
-
temperature = gr.Slider(minimum=0.
|
142 |
max_length = gr.Number(value=1500, label="Max Length", minimum=500, maximum=2000, step=100)
|
143 |
|
144 |
# CSS styling for the Duplicate button
|
|
|
138 |
input_text = gr.Textbox(lines=2, label="Prompt")
|
139 |
output_audio = gr.Audio(label="Generated Music", type="filepath")
|
140 |
output_midi = gr.File(label="Download MIDI File")
|
141 |
+
temperature = gr.Slider(minimum=0.8, maximum=1.1, value=0.9, step=0.1, label="Temperature", interactive=True)
|
142 |
max_length = gr.Number(value=1500, label="Max Length", minimum=500, maximum=2000, step=100)
|
143 |
|
144 |
# CSS styling for the Duplicate button
|