Elfsong commited on
Commit
39f5e6f
·
1 Parent(s): 8c89a6d
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,13 +12,13 @@ tab_problem, tab_submission, tab_model = st.tabs(["Problems", "Submissions", "Mo
12
 
13
  @st.dialog("Problem Submission")
14
  def problem_submission(item):
15
- st.write(f"Why is {item['problem_id']} your favorite?")
16
 
17
  with tab_problem:
18
  df = pd.DataFrame(
19
  {
20
- "name": ["Roadmap", "Extras", "Issues"],
21
- "url": ["https://roadmap.streamlit.app", "https://extras.streamlit.app", "https://issues.streamlit.app"],
22
  "stars": [random.randint(0, 1000) for _ in range(3)],
23
  "views_history": [[random.randint(0, 5000) for _ in range(30)] for _ in range(3)],
24
  }
 
12
 
13
  @st.dialog("Problem Submission")
14
  def problem_submission(item):
15
+ st.write(f"{item['problem_id']} Submission")
16
 
17
  with tab_problem:
18
  df = pd.DataFrame(
19
  {
20
+ "name": ["Problem 1", "Problem 2", "Problem 3"],
21
+ "url": [st.button("Submit"), "https://extras.streamlit.app", "https://issues.streamlit.app"],
22
  "stars": [random.randint(0, 1000) for _ in range(3)],
23
  "views_history": [[random.randint(0, 5000) for _ in range(30)] for _ in range(3)],
24
  }