charchits commited on
Commit
50feed9
·
1 Parent(s): 2ffdaa5

update to ui

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -66,10 +66,9 @@ st.set_page_config(
66
 
67
  def main():
68
 
69
- c1, c2 = st.columns(2)
70
- c2.title("Zonic:AI Music Generator")
71
- c1.image('picture-of-abstract-music.jpg', caption='Modern and Abstract Music Generation', width=100)
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,