Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,11 +43,11 @@ if st.button('Submit'):
|
|
43 |
# st.write(data)
|
44 |
|
45 |
# Calculate the number of poems for each poetic form
|
46 |
-
poem_counts = pd.read_csv(file_path)['form'].value_counts().reindex(poetic_forms, fill_value=0)
|
47 |
|
48 |
-
# Display progress bars for each poetic form
|
49 |
-
st.subheader('Poem Submission Progress')
|
50 |
-
for form in poetic_forms:
|
51 |
-
|
52 |
-
|
53 |
|
|
|
43 |
# st.write(data)
|
44 |
|
45 |
# Calculate the number of poems for each poetic form
|
46 |
+
# poem_counts = pd.read_csv(file_path)['form'].value_counts().reindex(poetic_forms, fill_value=0)
|
47 |
|
48 |
+
# # Display progress bars for each poetic form
|
49 |
+
# st.subheader('Poem Submission Progress')
|
50 |
+
# for form in poetic_forms:
|
51 |
+
# st.write(f"{form}: {poem_counts[form]} / 100")
|
52 |
+
# st.progress(min(poem_counts[form], 100) / 100)
|
53 |
|