error with saving needs debug
Browse files- playground.py +15 -15
playground.py
CHANGED
@@ -209,21 +209,21 @@ with gr.Blocks() as demo:
|
|
209 |
instrument_row("Synth Lead Square", 2)
|
210 |
# instrument_row("Piano")
|
211 |
#
|
212 |
-
|
213 |
-
with gr.Row():
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
gen_btn.click(fn=save_midi_to_folder, inputs=[state, saving_path], outputs=status)
|
227 |
|
228 |
|
229 |
demo.launch(debug=True)
|
|
|
209 |
instrument_row("Synth Lead Square", 2)
|
210 |
# instrument_row("Piano")
|
211 |
#
|
212 |
+
# save = gr.Markdown(""" ## SAVE AS MIDI file - enter a valid path """)
|
213 |
+
# with gr.Row():
|
214 |
+
# # with gr.Column(scale=1, min_width=100):
|
215 |
+
# saving_path = gr.Textbox(
|
216 |
+
# value="/Users/ChatGPT/Downloads/TheJamMachine/",
|
217 |
+
# show_label=False,
|
218 |
+
# label="Saving Path",
|
219 |
+
# interactive=True,
|
220 |
+
# )
|
221 |
+
# # with gr.Column(scale=1, min_width=100):
|
222 |
+
# gen_btn = gr.Button("Save MIDI")
|
223 |
+
# # with gr.Column(scale=1, min_width=100):
|
224 |
+
# status = gr.Textbox(show_label=False)
|
225 |
+
|
226 |
+
# gen_btn.click(fn=save_midi_to_folder, inputs=[state, saving_path], outputs=status)
|
227 |
|
228 |
|
229 |
demo.launch(debug=True)
|