Spaces:
Sleeping
Sleeping
update to ui
Browse files
app.py
CHANGED
@@ -66,10 +66,9 @@ st.set_page_config(
|
|
66 |
|
67 |
def main():
|
68 |
|
69 |
-
c1, c2 = st.columns(
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
|
74 |
text_area = st.text_area("Enter your description...")
|
75 |
time_slider = st.slider("Select time duration (in seconds)", 2, 20, 5)
|
@@ -83,7 +82,7 @@ def main():
|
|
83 |
prompt = llm_result.text
|
84 |
print("")
|
85 |
|
86 |
-
if text_area and time_slider:
|
87 |
st.json(
|
88 |
{
|
89 |
"Description": prompt,
|
|
|
66 |
|
67 |
def main():
|
68 |
|
69 |
+
c1, c2, c3 = st.columns(3)
|
70 |
+
c1.subheader("Zonic: AI music generator")
|
71 |
+
st.image('picture-of-abstract-music.jpg', caption='Modern and Abstract Music Generation', use_column_width=True)
|
|
|
72 |
|
73 |
text_area = st.text_area("Enter your description...")
|
74 |
time_slider = st.slider("Select time duration (in seconds)", 2, 20, 5)
|
|
|
82 |
prompt = llm_result.text
|
83 |
print("")
|
84 |
|
85 |
+
if text_area and time_slider and len(text_area) > 0:
|
86 |
st.json(
|
87 |
{
|
88 |
"Description": prompt,
|