changes
Browse files- README.md +1 -1
- ui/gradio_app.py +1 -1
README.md
CHANGED
@@ -3,7 +3,7 @@ title: Orpheus
|
|
3 |
emoji: 🦀
|
4 |
colorFrom: indigo
|
5 |
colorTo: pink
|
6 |
-
sdk:
|
7 |
sdk_version: 1.34.0
|
8 |
app_file: ui/gradio_app.py
|
9 |
pinned: false
|
|
|
3 |
emoji: 🦀
|
4 |
colorFrom: indigo
|
5 |
colorTo: pink
|
6 |
+
sdk: gradio
|
7 |
sdk_version: 1.34.0
|
8 |
app_file: ui/gradio_app.py
|
9 |
pinned: false
|
ui/gradio_app.py
CHANGED
@@ -40,6 +40,6 @@ with gr.Blocks() as demo:
|
|
40 |
|
41 |
output = gr.JSON(label="Session Info")
|
42 |
generate_button = gr.Button("Generate Song")
|
43 |
-
|
44 |
|
45 |
demo.launch()
|
|
|
40 |
|
41 |
output = gr.JSON(label="Session Info")
|
42 |
generate_button = gr.Button("Generate Song")
|
43 |
+
generate_button.click(fn=generate_song, inputs=[user_id, song_options, similarity], outputs=output)
|
44 |
|
45 |
demo.launch()
|