Update test.py
Browse files
test.py
CHANGED
|
@@ -80,7 +80,7 @@ class test :
|
|
| 80 |
|
| 81 |
if st.sidebar.button("Submit"):
|
| 82 |
for _ in range(3): # Print 'Processing' for 3 seconds
|
| 83 |
-
sys.stdout.write("
|
| 84 |
sys.stdout.flush()
|
| 85 |
time.sleep(1)
|
| 86 |
sys.stdout.write("\rProcessing.") # Add dot for progress
|
|
|
|
| 80 |
|
| 81 |
if st.sidebar.button("Submit"):
|
| 82 |
for _ in range(3): # Print 'Processing' for 3 seconds
|
| 83 |
+
sys.stdout.write("Processing") # Print 'Processing' without a newline
|
| 84 |
sys.stdout.flush()
|
| 85 |
time.sleep(1)
|
| 86 |
sys.stdout.write("\rProcessing.") # Add dot for progress
|