Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -468,6 +468,12 @@ def reset():
|
|
| 468 |
|
| 469 |
#==================================================================================
|
| 470 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 471 |
with gr.Blocks() as demo:
|
| 472 |
|
| 473 |
gr.Markdown("## Upload your MIDI or select a sample example MIDI")
|
|
@@ -533,4 +539,8 @@ with gr.Blocks() as demo:
|
|
| 533 |
|
| 534 |
demo.unload(lambda: print("User ended session."))
|
| 535 |
|
| 536 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 468 |
|
| 469 |
#==================================================================================
|
| 470 |
|
| 471 |
+
PDT = timezone('US/Pacific')
|
| 472 |
+
|
| 473 |
+
print('=' * 70)
|
| 474 |
+
print('App start time: {:%Y-%m-%d %H:%M:%S}'.format(datetime.datetime.now(PDT)))
|
| 475 |
+
print('=' * 70)
|
| 476 |
+
|
| 477 |
with gr.Blocks() as demo:
|
| 478 |
|
| 479 |
gr.Markdown("## Upload your MIDI or select a sample example MIDI")
|
|
|
|
| 539 |
|
| 540 |
demo.unload(lambda: print("User ended session."))
|
| 541 |
|
| 542 |
+
#==================================================================================
|
| 543 |
+
|
| 544 |
+
demo.launch(share=True)
|
| 545 |
+
|
| 546 |
+
#==================================================================================
|