Update app.py
Browse files
app.py
CHANGED
@@ -361,7 +361,7 @@ def parse_log(log_lines):
|
|
361 |
clients = {}
|
362 |
memory_usage = []
|
363 |
|
364 |
-
round_pattern = re.compile(r'\
|
365 |
client_pattern = re.compile(r'Client (\d+) \| (INFO|DEBUG) \| (.*)')
|
366 |
memory_pattern = re.compile(r'memory used=(\d+\.\d+)GB')
|
367 |
|
@@ -502,6 +502,7 @@ def main():
|
|
502 |
|
503 |
for round_num in range(NUM_ROUNDS):
|
504 |
st.write(f"### Round {round_num + 1}")
|
|
|
505 |
plot_placeholders = [st.empty() for _ in range(NUM_CLIENTS)]
|
506 |
|
507 |
fl.simulation.start_simulation(
|
|
|
361 |
clients = {}
|
362 |
memory_usage = []
|
363 |
|
364 |
+
round_pattern = re.compile(r'ROUND(\d+)ROUND (\d+)')
|
365 |
client_pattern = re.compile(r'Client (\d+) \| (INFO|DEBUG) \| (.*)')
|
366 |
memory_pattern = re.compile(r'memory used=(\d+\.\d+)GB')
|
367 |
|
|
|
502 |
|
503 |
for round_num in range(NUM_ROUNDS):
|
504 |
st.write(f"### Round {round_num + 1}")
|
505 |
+
st.markdown(read_log_file())
|
506 |
plot_placeholders = [st.empty() for _ in range(NUM_CLIENTS)]
|
507 |
|
508 |
fl.simulation.start_simulation(
|