commenting out "Audio Info" tab
Browse files
app.py
CHANGED
@@ -1447,7 +1447,7 @@ def ui_full(launch_kwargs):
|
|
1447 |
refers to a technique used in some music generation models where a separate classifier network is trained to provide guidance or control over the generated music. This classifier is trained on labeled data to recognize specific musical characteristics or styles. During the generation process, the output of the generator model is evaluated by the classifier, and the generator is encouraged to produce music that aligns with the desired characteristics or style. This approach allows for more fine-grained control over the generated music, enabling users to specify certain attributes they want the model to capture.
|
1448 |
"""
|
1449 |
)
|
1450 |
-
with gr.Tab("Audio Info"):
|
1451 |
gr.Markdown(
|
1452 |
"""
|
1453 |
### Audio Info
|
@@ -1461,7 +1461,7 @@ def ui_full(launch_kwargs):
|
|
1461 |
send_gen_a = gr.Button("Send to AudioGen", variant="primary")
|
1462 |
with gr.Column():
|
1463 |
info = gr.Textbox(label="Audio Info", lines=10, interactive=False)
|
1464 |
-
|
1465 |
with gr.Row():
|
1466 |
with gr.Column():
|
1467 |
gen_type = gr.Text(value="music", interactive=False, visible=False)
|
@@ -1483,7 +1483,7 @@ def ui_full(launch_kwargs):
|
|
1483 |
)
|
1484 |
with gr.Column():
|
1485 |
#gr.Image(shape=(5,5))
|
1486 |
-
gr.Image(shape=(5,5), value = "https://tulipai.co/assets/images/image01.png")
|
1487 |
|
1488 |
|
1489 |
gen_type = gr.Text(value="music", interactive=False, visible=False)
|
@@ -1503,7 +1503,7 @@ def ui_full(launch_kwargs):
|
|
1503 |
input_type_a.change(toggle_audio_src, input_type_a, [audio_a], queue=False, show_progress=False)
|
1504 |
to_calc_a.click(calc_time, inputs=[gen_type_a, s_a, duration_a, overlap_a, repeats_a[0], repeats_a[1], repeats_a[2], repeats_a[3], repeats_a[4], repeats_a[5], repeats_a[6], repeats_a[7], repeats_a[8], repeats_a[9]], outputs=[calcs_a[0], calcs_a[1], calcs_a[2], calcs_a[3], calcs_a[4], calcs_a[5], calcs_a[6], calcs_a[7], calcs_a[8], calcs_a[9]], queue=False)
|
1505 |
|
1506 |
-
in_audio.change(get_audio_info, in_audio, outputs=[info])
|
1507 |
|
1508 |
def variable_outputs(k):
|
1509 |
k = int(k) - 1
|
|
|
1447 |
refers to a technique used in some music generation models where a separate classifier network is trained to provide guidance or control over the generated music. This classifier is trained on labeled data to recognize specific musical characteristics or styles. During the generation process, the output of the generator model is evaluated by the classifier, and the generator is encouraged to produce music that aligns with the desired characteristics or style. This approach allows for more fine-grained control over the generated music, enabling users to specify certain attributes they want the model to capture.
|
1448 |
"""
|
1449 |
)
|
1450 |
+
'''with gr.Tab("Audio Info"):
|
1451 |
gr.Markdown(
|
1452 |
"""
|
1453 |
### Audio Info
|
|
|
1461 |
send_gen_a = gr.Button("Send to AudioGen", variant="primary")
|
1462 |
with gr.Column():
|
1463 |
info = gr.Textbox(label="Audio Info", lines=10, interactive=False)
|
1464 |
+
with gr.Tab("About"):
|
1465 |
with gr.Row():
|
1466 |
with gr.Column():
|
1467 |
gen_type = gr.Text(value="music", interactive=False, visible=False)
|
|
|
1483 |
)
|
1484 |
with gr.Column():
|
1485 |
#gr.Image(shape=(5,5))
|
1486 |
+
gr.Image(shape=(5,5), value = "https://tulipai.co/assets/images/image01.png")
|
1487 |
|
1488 |
|
1489 |
gen_type = gr.Text(value="music", interactive=False, visible=False)
|
|
|
1503 |
input_type_a.change(toggle_audio_src, input_type_a, [audio_a], queue=False, show_progress=False)
|
1504 |
to_calc_a.click(calc_time, inputs=[gen_type_a, s_a, duration_a, overlap_a, repeats_a[0], repeats_a[1], repeats_a[2], repeats_a[3], repeats_a[4], repeats_a[5], repeats_a[6], repeats_a[7], repeats_a[8], repeats_a[9]], outputs=[calcs_a[0], calcs_a[1], calcs_a[2], calcs_a[3], calcs_a[4], calcs_a[5], calcs_a[6], calcs_a[7], calcs_a[8], calcs_a[9]], queue=False)
|
1505 |
|
1506 |
+
in_audio.change(get_audio_info, in_audio, outputs=[info])'''
|
1507 |
|
1508 |
def variable_outputs(k):
|
1509 |
k = int(k) - 1
|