Update app.py
Browse files
app.py
CHANGED
@@ -309,4 +309,7 @@ app = gr.Interface(
|
|
309 |
outputs=gr.File(label="MIDI File")
|
310 |
)
|
311 |
|
312 |
-
|
|
|
|
|
|
|
|
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()
|