Spaces:
Sleeping
Sleeping
Improving the UI
Browse files- trainer.py +3 -3
trainer.py
CHANGED
@@ -10,9 +10,9 @@ from antiJamEnv import AntiJamEnv
|
|
10 |
|
11 |
|
12 |
def train(jammer_type, channel_switching_cost):
|
13 |
-
st.
|
14 |
-
progress_bar = st.
|
15 |
-
status_text = st.
|
16 |
|
17 |
env = AntiJamEnv(jammer_type, channel_switching_cost)
|
18 |
ob_space = env.observation_space
|
|
|
10 |
|
11 |
|
12 |
def train(jammer_type, channel_switching_cost):
|
13 |
+
st.subheader("Training Progress")
|
14 |
+
progress_bar = st.progress(0)
|
15 |
+
status_text = st.empty()
|
16 |
|
17 |
env = AntiJamEnv(jammer_type, channel_switching_cost)
|
18 |
ob_space = env.observation_space
|