Skip to content

Streamlit frontend integration with RealityStream Run-Models-bkup.ipynb #54

@ModelEarth

Description

@ModelEarth

Lead: Anushka

Here's a StreamLit interface that can be pointed at the RealityStream backup file in realitystream/models.

github.com/ModelEarth/reality.streamlit.large

Pull in the .ipynb notebook from GitHub in realtime and apply the filters from the StreamLit app to select and run models.

https://github.com/ModelEarth/realitystream/tree/main/models

This will be challenging, but Claude Code CLI should make it easy to setup, hopefully.

The repo is called ".large" because it contains a 50 MB file.

Later we'll move the Streamlit python interface into our cloud repo at cloud/streamlit

Remove the Random Location Forest from the list and match the 6 models here:

https://model.earth/realitystream/models/

Anushka reports: The dropdown is wired with the six models, and I can fetch and execute Run-Models-bkup.ipynb with Papermill. The execution stops at the RAPIDS (CUDA) install step since my Mac doesn’t have GPU support.

Anushka added run_notebook_from_github and display_notebook_results helpers in utils/functions.py
Integrated dynamic model dropdown in app.py using approved notebooks

Next: Add logic in the Run Models colab to control when a CPU-only version is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions