misnaej commited on
Commit
cd3efdf
·
1 Parent(s): 996bed4

error with saving needs debug

Browse files
Files changed (1) hide show
  1. 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
- track1_md = 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)
 
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)