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
@@ -234,7 +234,7 @@ class MinDalle:
|
|
234 |
dtype=torch.float32,
|
235 |
device=self.device
|
236 |
)
|
237 |
-
for i in range(
|
238 |
if(st.session_state.page != 0):
|
239 |
break
|
240 |
st.session_state.bar.progress(i/IMAGE_TOKEN_COUNT)
|
|
|
234 |
dtype=torch.float32,
|
235 |
device=self.device
|
236 |
)
|
237 |
+
for i in range( IMAGE_TOKEN_COUNT ):
|
238 |
if(st.session_state.page != 0):
|
239 |
break
|
240 |
st.session_state.bar.progress(i/IMAGE_TOKEN_COUNT)
|