JMalott commited on
Commit
7f311ef
1 Parent(s): 8e71a67

Update min_dalle/min_dalle.py

Browse files
Files changed (1) hide show
  1. min_dalle/min_dalle.py +3 -3
min_dalle/min_dalle.py CHANGED
@@ -242,9 +242,9 @@ class MinDalle:
242
 
243
  for i in range( IMAGE_TOKEN_COUNT ):
244
 
245
- #if(st.session_state.page != 0):
246
- # break
247
- #st.session_state.bar.progress(i/IMAGE_TOKEN_COUNT)
248
 
249
  torch.cuda.empty_cache()
250
 
 
242
 
243
  for i in range( IMAGE_TOKEN_COUNT ):
244
 
245
+ if(st.session_state.page != 0):
246
+ break
247
+ st.session_state.bar.progress(i/IMAGE_TOKEN_COUNT)
248
 
249
  torch.cuda.empty_cache()
250