Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -582,8 +582,8 @@ if st.button("Results"):
|
|
| 582 |
|
| 583 |
if comet_initialized:
|
| 584 |
experiment = Experiment(api_key=COMET_API_KEY, workspace=COMET_WORKSPACE, project_name=COMET_PROJECT_NAME)
|
| 585 |
-
|
| 586 |
-
|
| 587 |
experiment.end()
|
| 588 |
else:
|
| 589 |
st.session_state.results_df = pd.DataFrame()
|
|
|
|
| 582 |
|
| 583 |
if comet_initialized:
|
| 584 |
experiment = Experiment(api_key=COMET_API_KEY, workspace=COMET_WORKSPACE, project_name=COMET_PROJECT_NAME)
|
| 585 |
+
experiment.log_parameter("input_text", text)
|
| 586 |
+
experiment.log_table("predicted_entities", df)
|
| 587 |
experiment.end()
|
| 588 |
else:
|
| 589 |
st.session_state.results_df = pd.DataFrame()
|