Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -174,13 +174,12 @@ with gr.Blocks(css="style.css") as demo:
|
|
174 |
|
175 |
|
176 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
|
|
177 |
track_duration = gr.Slider(minimum=20, maximum=120, value=30, step=5, label="Track duration", elem_id="duration-inp")
|
178 |
with gr.Row():
|
179 |
gen_intensity = gr.Dropdown(choices=["low", "medium", "high"], value="medium", label="Intensity")
|
180 |
gen_mode = gr.Radio(label="mode", choices=["track", "loop"], value="track")
|
181 |
generate = gr.Button("Generate Music from Image")
|
182 |
-
|
183 |
-
music_output = gr.Audio(label="Result", type="filepath", elem_id="music-output")
|
184 |
|
185 |
with gr.Group(elem_id="share-btn-container"):
|
186 |
community_icon = gr.HTML(community_icon_html, visible=False)
|
|
|
174 |
|
175 |
|
176 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
177 |
+
music_output = gr.Audio(label="Result", type="filepath", elem_id="music-output")
|
178 |
track_duration = gr.Slider(minimum=20, maximum=120, value=30, step=5, label="Track duration", elem_id="duration-inp")
|
179 |
with gr.Row():
|
180 |
gen_intensity = gr.Dropdown(choices=["low", "medium", "high"], value="medium", label="Intensity")
|
181 |
gen_mode = gr.Radio(label="mode", choices=["track", "loop"], value="track")
|
182 |
generate = gr.Button("Generate Music from Image")
|
|
|
|
|
183 |
|
184 |
with gr.Group(elem_id="share-btn-container"):
|
185 |
community_icon = gr.HTML(community_icon_html, visible=False)
|