@danhachuel/thunderbolt 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/main.py +6 -6
- package/package.json +1 -1
package/app/main.py
CHANGED
|
@@ -2724,6 +2724,12 @@ def render_music_creation():
|
|
|
2724
2724
|
placeholder="Ex.: pôr do sol mediterrânico, estrada molhada, nostalgia suave e arranjos acústicos contemporâneos",
|
|
2725
2725
|
height=90,
|
|
2726
2726
|
)
|
|
2727
|
+
prompt = st.text_area(
|
|
2728
|
+
"Prompt musical",
|
|
2729
|
+
placeholder="Use Gerar campos musicais com IA para criar letra e estilo completos, ou escreva um prompt próprio.",
|
|
2730
|
+
key="music_task_prompt",
|
|
2731
|
+
height=300,
|
|
2732
|
+
)
|
|
2727
2733
|
if st.button("Gerar campos musicais com IA", key="music_task_generate_fields", use_container_width=True, icon=":material/auto_awesome:"):
|
|
2728
2734
|
try:
|
|
2729
2735
|
with st.spinner("A criar título, letra e prompt musical originais…"):
|
|
@@ -2739,12 +2745,6 @@ def render_music_creation():
|
|
|
2739
2745
|
st.rerun()
|
|
2740
2746
|
except CreativeGenerationError as exc:
|
|
2741
2747
|
st.error(str(exc))
|
|
2742
|
-
prompt = st.text_area(
|
|
2743
|
-
"Prompt musical",
|
|
2744
|
-
placeholder="Use Gerar campos musicais com IA para criar letra e estilo completos, ou escreva um prompt próprio.",
|
|
2745
|
-
key="music_task_prompt",
|
|
2746
|
-
height=300,
|
|
2747
|
-
)
|
|
2748
2748
|
lyria_model = ""
|
|
2749
2749
|
if provider_label == "Google Lyria":
|
|
2750
2750
|
models = ["lyria-3-clip-preview", "lyria-3-pro-preview"]
|
package/package.json
CHANGED