Spaces:
Runtime error
Runtime error
Update min_dalle/min_dalle.py
Browse files- min_dalle/min_dalle.py +1 -1
min_dalle/min_dalle.py
CHANGED
@@ -238,7 +238,7 @@ class MinDalle:
|
|
238 |
for i in range( IMAGE_TOKEN_COUNT ):
|
239 |
if(st.session_state.page != 0):
|
240 |
break
|
241 |
-
|
242 |
|
243 |
torch.cuda.empty_cache()
|
244 |
|
|
|
238 |
for i in range( IMAGE_TOKEN_COUNT ):
|
239 |
if(st.session_state.page != 0):
|
240 |
break
|
241 |
+
st.session_state.bar.progress(i/IMAGE_TOKEN_COUNT)
|
242 |
|
243 |
torch.cuda.empty_cache()
|
244 |
|