com3dian commited on
Commit
f1dc184
·
verified ·
1 Parent(s): c2c697a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -43,10 +43,9 @@ with col2:
43
  value=(25, 75)
44
  )
45
 
46
- st.session_state.generation_done = False
47
  summ_text = None
48
 
49
- if uploaded_file is not None and not st.session_state.generation_done:
50
  st.write(uploaded_file.name)
51
  bytes_data = uploaded_file.getvalue()
52
  st.write(len(bytes_data), "bytes")
 
43
  value=(25, 75)
44
  )
45
 
 
46
  summ_text = None
47
 
48
+ if (uploaded_file is not None) and (not 'generation_done' in st.session_state):
49
  st.write(uploaded_file.name)
50
  bytes_data = uploaded_file.getvalue()
51
  st.write(len(bytes_data), "bytes")