Spaces:
Sleeping
Sleeping
fix string error
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ uploaded_file = st.file_uploader("Upload JSON File", type=["json"])
|
|
| 15 |
if uploaded_file:
|
| 16 |
loaded_dict = json.load(uploaded_file)
|
| 17 |
df = pd.DataFrame(loaded_dict)
|
| 18 |
-
st.subheader(len(df)+
|
| 19 |
st.write(df)
|
| 20 |
|
| 21 |
# Sentiment Distribution Chart
|
|
|
|
| 15 |
if uploaded_file:
|
| 16 |
loaded_dict = json.load(uploaded_file)
|
| 17 |
df = pd.DataFrame(loaded_dict)
|
| 18 |
+
st.subheader(f"{len(df)}+ sentiment tuples was detected")
|
| 19 |
st.write(df)
|
| 20 |
|
| 21 |
# Sentiment Distribution Chart
|