Spaces:
Runtime error
Runtime error
Update min_dalle/min_dalle.py
Browse files- min_dalle/min_dalle.py +2 -0
min_dalle/min_dalle.py
CHANGED
@@ -238,6 +238,8 @@ class MinDalle:
|
|
238 |
if(st.session_state.page != 0):
|
239 |
break
|
240 |
st.session_state.bar.progress(i/IMAGE_TOKEN_COUNT)
|
|
|
|
|
241 |
|
242 |
torch.cuda.empty_cache()
|
243 |
with torch.cuda.amp.autocast(dtype=self.dtype):
|
|
|
238 |
if(st.session_state.page != 0):
|
239 |
break
|
240 |
st.session_state.bar.progress(i/IMAGE_TOKEN_COUNT)
|
241 |
+
|
242 |
+
print(i)
|
243 |
|
244 |
torch.cuda.empty_cache()
|
245 |
with torch.cuda.amp.autocast(dtype=self.dtype):
|