Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +8 -1
src/streamlit_app.py
CHANGED
|
@@ -3,13 +3,20 @@ import numpy as np
|
|
| 3 |
import pandas as pd
|
| 4 |
import streamlit as st
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"""
|
| 7 |
-
|
| 8 |
|
| 9 |
In this exercise we will train two popular deep reinforcement learning agents that you have learned through your courses.
|
| 10 |
This is the time to put that knowledge to practice!
|
| 11 |
"""
|
| 12 |
|
|
|
|
|
|
|
| 13 |
num_points = st.slider("Number of points in spiral", 1, 10000, 1100)
|
| 14 |
num_turns = st.slider("Number of turns in spiral", 1, 300, 31)
|
| 15 |
|
|
|
|
| 3 |
import pandas as pd
|
| 4 |
import streamlit as st
|
| 5 |
|
| 6 |
+
|
| 7 |
+
LEADERBOARD_FILE = "leaderboard.csv"
|
| 8 |
+
|
| 9 |
+
st.title("🏆 Hackathon Leaderboard")
|
| 10 |
+
|
| 11 |
"""
|
| 12 |
+
**Welcome to the exercises of reinforcement learning!**
|
| 13 |
|
| 14 |
In this exercise we will train two popular deep reinforcement learning agents that you have learned through your courses.
|
| 15 |
This is the time to put that knowledge to practice!
|
| 16 |
"""
|
| 17 |
|
| 18 |
+
uploaded_file = st.file_uploader("Upload your submission (.py)", type=["py"])
|
| 19 |
+
|
| 20 |
num_points = st.slider("Number of points in spiral", 1, 10000, 1100)
|
| 21 |
num_turns = st.slider("Number of turns in spiral", 1, 300, 31)
|
| 22 |
|