Navya-Sree commited on
Commit
62bb808
·
verified ·
1 Parent(s): 2a59e2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import streamlit as st
2
  import pandas as pd
3
  import numpy as np
@@ -12,6 +13,7 @@ import io
12
  import base64
13
  import textwrap
14
  import time
 
15
 
16
  # Page configuration
17
  st.set_page_config(
@@ -633,7 +635,7 @@ elif menu == "Practice":
633
 
634
  with col3:
635
  if st.button("View Solution"):
636
- st.code(challenge['solution"])
637
 
638
  elif menu == "Projects":
639
  st.markdown("<h1 class='main-header'>🛠️ Hands-on Projects</h1>", unsafe_allow_html=True)
 
1
+ # app.py
2
  import streamlit as st
3
  import pandas as pd
4
  import numpy as np
 
13
  import base64
14
  import textwrap
15
  import time
16
+ import os
17
 
18
  # Page configuration
19
  st.set_page_config(
 
635
 
636
  with col3:
637
  if st.button("View Solution"):
638
+ st.code(challenge["solution"])
639
 
640
  elif menu == "Projects":
641
  st.markdown("<h1 class='main-header'>🛠️ Hands-on Projects</h1>", unsafe_allow_html=True)