asataura commited on
Commit
5acfeb6
·
1 Parent(s): d67dca9
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -1,21 +1,19 @@
1
  import streamlit as st
2
 
3
  def main():
4
- st.title("Anti-Jamming Configuration App")
 
5
  mode = st.radio("Choose Mode", ["Auto", "Manual"])
6
 
7
  if mode == "Auto":
8
  jammer_type = "dynamic"
9
- agent_type = "DQN with prioritized replay memory"
10
  channel_switching_cost = 0.1
11
  else:
12
  jammer_type = st.selectbox("Select Jammer Type", ["constant", "sweeping", "random", "dynamic"])
13
- agent_type = st.selectbox("Select Agent Type", ["DQN", "DQN with fixed targets", "DDQN", "Dueling DDQN", "DQN with prioritized replay memory"])
14
  channel_switching_cost = st.selectbox("Select Channel Switching Cost", [0, 0.05, 0.1, 0.15, 0.2])
15
 
16
- st.write("Configuration:")
17
  st.write(f"Jammer Type: {jammer_type}")
18
- st.write(f"Agent Type: {agent_type}")
19
  st.write(f"Channel Switching Cost: {channel_switching_cost}")
20
 
21
  st.write("==================================================")
 
1
  import streamlit as st
2
 
3
  def main():
4
+ st.title("Beyond the Anti-Jam: Integration of DRL with LLM")
5
+ st.header("Make Your Environment Configuration")
6
  mode = st.radio("Choose Mode", ["Auto", "Manual"])
7
 
8
  if mode == "Auto":
9
  jammer_type = "dynamic"
 
10
  channel_switching_cost = 0.1
11
  else:
12
  jammer_type = st.selectbox("Select Jammer Type", ["constant", "sweeping", "random", "dynamic"])
 
13
  channel_switching_cost = st.selectbox("Select Channel Switching Cost", [0, 0.05, 0.1, 0.15, 0.2])
14
 
15
+ st.subheader("Configuration:")
16
  st.write(f"Jammer Type: {jammer_type}")
 
17
  st.write(f"Channel Switching Cost: {channel_switching_cost}")
18
 
19
  st.write("==================================================")