Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,7 +93,7 @@ def postprocess(txt, path):
|
|
| 93 |
|
| 94 |
with gr.Blocks() as demo:
|
| 95 |
chatbot_box = gr.Chatbot(type="messages", render_markdown=False, sanitize_html=False)
|
| 96 |
-
prefix_box = gr.TextArea(value="
|
| 97 |
with gr.Row():
|
| 98 |
submit_btn = gr.Button("Generate")
|
| 99 |
clear_btn = gr.Button("Clear history")
|
|
@@ -106,7 +106,9 @@ with gr.Blocks() as demo:
|
|
| 106 |
example_box = gr.Examples(
|
| 107 |
[
|
| 108 |
[example_prefix],
|
| 109 |
-
["
|
|
|
|
|
|
|
| 110 |
["Fugue I in C major, BWV 846"], ["Beethoven Symphony No. 7 (2nd movement) Piano solo"],
|
| 111 |
],
|
| 112 |
inputs=prefix_box,
|
|
|
|
| 93 |
|
| 94 |
with gr.Blocks() as demo:
|
| 95 |
chatbot_box = gr.Chatbot(type="messages", render_markdown=False, sanitize_html=False)
|
| 96 |
+
prefix_box = gr.TextArea(value="Twinkle Twinkle Little Star (Minor Key Version)", label="Score title / text prefix")
|
| 97 |
with gr.Row():
|
| 98 |
submit_btn = gr.Button("Generate")
|
| 99 |
clear_btn = gr.Button("Clear history")
|
|
|
|
| 106 |
example_box = gr.Examples(
|
| 107 |
[
|
| 108 |
[example_prefix],
|
| 109 |
+
["Twinkle Twinkle Little Star"], ["Twinkle Twinkle Little Star (Minor Key Version)"]
|
| 110 |
+
["The Entertainer - Scott Joplin (Piano Solo)"], ["Guitar"],
|
| 111 |
+
["Composer: Chopin"], ["Composer: Bach"], ["Composer: Beethoven"], ["Composer: Debussy"], ["Composer: Nocturne"], ["Composer: Clair De Lune"],
|
| 112 |
["Fugue I in C major, BWV 846"], ["Beethoven Symphony No. 7 (2nd movement) Piano solo"],
|
| 113 |
],
|
| 114 |
inputs=prefix_box,
|