Update app.py
Browse files
app.py
CHANGED
@@ -309,7 +309,8 @@ app = gr.Interface(
|
|
309 |
outputs=gr.File(label="MIDI File")
|
310 |
)
|
311 |
|
312 |
-
|
|
|
313 |
app.launch(share=True)
|
314 |
-
|
315 |
app.launch()
|
|
|
309 |
outputs=gr.File(label="MIDI File")
|
310 |
)
|
311 |
|
312 |
+
try:
|
313 |
+
import google.colab
|
314 |
app.launch(share=True)
|
315 |
+
except:
|
316 |
app.launch()
|