B-K commited on
Commit
58ff803
·
verified ·
1 Parent(s): 4ddb0a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -309,4 +309,7 @@ app = gr.Interface(
309
  outputs=gr.File(label="MIDI File")
310
  )
311
 
312
- app.launch()
 
 
 
 
309
  outputs=gr.File(label="MIDI File")
310
  )
311
 
312
+ if 'google.colab' in str(get_ipython()):
313
+ app.launch(share=True)
314
+ else:
315
+ app.launch()