passed the models folder to training func
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def online_inference(nlp_models):
|
|
78 |
st.write("No named entities found in the text.")
|
79 |
|
80 |
# Streamlit UI for Model Training
|
81 |
-
def model_training():
|
82 |
|
83 |
st.title("Model Training")
|
84 |
|
@@ -331,7 +331,7 @@ def main():
|
|
331 |
if page == "Online Inference":
|
332 |
online_inference(nlp_models)
|
333 |
elif page == "Model Training":
|
334 |
-
model_training()
|
335 |
elif page == "GEN AI":
|
336 |
gen_ai()
|
337 |
|
|
|
78 |
st.write("No named entities found in the text.")
|
79 |
|
80 |
# Streamlit UI for Model Training
|
81 |
+
def model_training(saved_models_dir):
|
82 |
|
83 |
st.title("Model Training")
|
84 |
|
|
|
331 |
if page == "Online Inference":
|
332 |
online_inference(nlp_models)
|
333 |
elif page == "Model Training":
|
334 |
+
model_training(saved_models_dir)
|
335 |
elif page == "GEN AI":
|
336 |
gen_ai()
|
337 |
|