sbi-benchmark / sbibm

Simulation-based inference benchmark
https://sbi-benchmark.github.io
MIT License
88 stars 34 forks source link

Metrics streamlit app seems broken #58

Closed talesa closed 1 year ago

talesa commented 1 year ago

When trying to access https://sbi-benchmark-streamlit-metrics-5h5b07.streamlit.app/, I'm getting the following error:

AttributeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).

Traceback:
File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
    exec(code, module.__dict__)
File "/app/streamlit/metrics.py", line 4, in <module>
    from app.metrics import page_metrics
File "/app/streamlit/app/metrics.py", line 4, in <module>
    from sbibm.visualisation import fig_metric
File "/home/appuser/venv/lib/python3.7/site-packages/sbibm/visualisation/__init__.py", line 1, in <module>
    from .correlation import fig_correlation
File "/home/appuser/venv/lib/python3.7/site-packages/sbibm/visualisation/correlation.py", line 4, in <module>
    import deneb as den
File "/home/appuser/venv/lib/python3.7/site-packages/deneb/__init__.py", line 4, in <module>
    from .correlation_matrix import correlation_matrix
File "/home/appuser/venv/lib/python3.7/site-packages/deneb/correlation_matrix.py", line 6, in <module>
    from .utils import Chart
File "/home/appuser/venv/lib/python3.7/site-packages/deneb/utils.py", line 11, in <module>
    Chart = alt.vegalite.v4.api.Chart
jan-matthis commented 1 year ago

Thanks for letting me know -- should be fixed