Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -145,9 +145,7 @@ def ui_full(launch_kwargs):
|
|
145 |
|
146 |
|
147 |
|
148 |
-
|
149 |
-
output = gr.Video(label="Generated Music")
|
150 |
-
submit.click(predict_full, inputs=[model, text, melody, duration, topk, topp, temperature, cfg_coef], outputs=[output])
|
151 |
with gr.Row():
|
152 |
with gr.Column():
|
153 |
with gr.Row():
|
@@ -166,7 +164,9 @@ def ui_full(launch_kwargs):
|
|
166 |
topp = gr.Number(label="Top-p", value=0, interactive=True)
|
167 |
temperature = gr.Number(label="Temperature", value=1.0, interactive=True)
|
168 |
cfg_coef = gr.Number(label="Classifier Free Guidance", value=3.0, interactive=True)
|
169 |
-
|
|
|
|
|
170 |
|
171 |
gr.Markdown(
|
172 |
"""
|
|
|
145 |
|
146 |
|
147 |
|
148 |
+
|
|
|
|
|
149 |
with gr.Row():
|
150 |
with gr.Column():
|
151 |
with gr.Row():
|
|
|
164 |
topp = gr.Number(label="Top-p", value=0, interactive=True)
|
165 |
temperature = gr.Number(label="Temperature", value=1.0, interactive=True)
|
166 |
cfg_coef = gr.Number(label="Classifier Free Guidance", value=3.0, interactive=True)
|
167 |
+
with gr.Column():
|
168 |
+
output = gr.Video(label="Generated Music")
|
169 |
+
submit.click(predict_full, inputs=[model, text, melody, duration, topk, topp, temperature, cfg_coef], outputs=[output])
|
170 |
|
171 |
gr.Markdown(
|
172 |
"""
|