Spaces:
Runtime error
Runtime error
KJMAN678 commited on
Commit ·
ba1c307
1
Parent(s): 60cf16b
status_area.write
Browse files- bul_image_maker.py +3 -1
bul_image_maker.py
CHANGED
|
@@ -23,9 +23,11 @@ def bul_image_maker(height: int, width: int, times: int) -> None:
|
|
| 23 |
|
| 24 |
im = np.zeros((height, width))
|
| 25 |
|
|
|
|
|
|
|
| 26 |
for time in range(times):
|
| 27 |
|
| 28 |
-
|
| 29 |
|
| 30 |
H_start = random.randint((random.randint(1, H - 3)), H - 2)
|
| 31 |
H_end = H_start
|
|
|
|
| 23 |
|
| 24 |
im = np.zeros((height, width))
|
| 25 |
|
| 26 |
+
status_area = st.empty()
|
| 27 |
+
|
| 28 |
for time in range(times):
|
| 29 |
|
| 30 |
+
status_area.write(f"{time}/{times}")
|
| 31 |
|
| 32 |
H_start = random.randint((random.randint(1, H - 3)), H - 2)
|
| 33 |
H_end = H_start
|