mellymeldubs commited on
Commit
07b2cf2
·
verified ·
1 Parent(s): d173d3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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
- st.write(f"{form}: {poem_counts[form]} / 100")
52
- st.progress(min(poem_counts[form], 100) / 100)
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