We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48e7940 commit ac3fb5dCopy full SHA for ac3fb5d
1 file changed
src/tdamapper/app.py
@@ -1,4 +1,5 @@
1
import logging
2
+import os
3
from dataclasses import asdict, dataclass
4
5
import pandas as pd
@@ -588,7 +589,8 @@ def main_page():
588
589
590
591
def main():
- ui.run(storage_secret="secret", title="tda-mapper-app", favicon=ICON_URL)
592
+ port = os.getenv("PORT", "8080")
593
+ ui.run(storage_secret="secret", title="tda-mapper-app", favicon=ICON_URL, port=port)
594
595
596
if __name__ in ["__main__", "__mp_main__", "tdamapper.app"]:
0 commit comments