echons commited on
Commit
3e7a6f8
1 Parent(s): a665da6

Updated app and include samples

Browse files
Files changed (3) hide show
  1. app.py +14 -0
  2. sound/sample.wav +0 -0
  3. sound/sample2.wav +0 -0
app.py CHANGED
@@ -69,6 +69,20 @@ st.sidebar.subheader("How to Use:")
69
  st.sidebar.write("1. Enter a plant condition prompt in the text input.")
70
  st.sidebar.write("2. Click the 'Generate Music' button to create music based on the provided prompt.")
71
  st.sidebar.write("3. You can listen to the generated music and download it.")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
 
73
  # Footer
74
  st.write()
 
69
  st.sidebar.write("1. Enter a plant condition prompt in the text input.")
70
  st.sidebar.write("2. Click the 'Generate Music' button to create music based on the provided prompt.")
71
  st.sidebar.write("3. You can listen to the generated music and download it.")
72
+ st.sidebar.write()
73
+ st.sidebar.subheader('Samples 🎵')
74
+ st.sidebar.write('prompt: Sunflower, roses')
75
+ st.sidebar.audio('sound/sample.wav')
76
+ st.sidebar.write("""prompt: Generate music for the Plant Orchestra based on the following plant conditions and temperatures:
77
+
78
+ 1. Rose plant: Temperature - 22°C
79
+ 2. Palm tree: Temperature - 28°C
80
+ 3. Orchid flower: Temperature - 20°C
81
+ 4. Succulent plant: Temperature - 25°C
82
+ 5. Maple tree: Temperature - 18°C
83
+
84
+ Create a musical composition that represents the unique ambiance and vitality of each plant. Let the music reflect the varying temperatures and moods of these plants.""")
85
+ st.sidebar.audio('sound/sample2.wav')
86
 
87
  # Footer
88
  st.write()
sound/sample.wav ADDED
Binary file (324 kB). View file
 
sound/sample2.wav ADDED
Binary file (324 kB). View file