Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,11 +3,9 @@ import json
|
|
3 |
import pandas as pd
|
4 |
import streamlit.components.v1 as components
|
5 |
|
6 |
-
# Initialize session state for tracking the last clicked row
|
7 |
if 'last_clicked_row' not in st.session_state:
|
8 |
st.session_state['last_clicked_row'] = None
|
9 |
|
10 |
-
# Function to load JSONL file into a DataFrame
|
11 |
def load_jsonl(file_path):
|
12 |
data = []
|
13 |
with open(file_path, 'r') as f:
|
|
|
3 |
import pandas as pd
|
4 |
import streamlit.components.v1 as components
|
5 |
|
|
|
6 |
if 'last_clicked_row' not in st.session_state:
|
7 |
st.session_state['last_clicked_row'] = None
|
8 |
|
|
|
9 |
def load_jsonl(file_path):
|
10 |
data = []
|
11 |
with open(file_path, 'r') as f:
|