This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import streamlit as st | |
from ludwig.api import LudwigModel | |
import pandas as pd | |
st.cache(show_spinner=False) | |
def load_model(): | |
#Update with the path to the Ludwig trained model | |
model = LudwigModel.load("results/experiment_run_1/model/") | |
return model |