hari3485 commited on
Commit
9463b76
·
verified ·
1 Parent(s): f2259ac

Update pages/hari.py

Browse files
Files changed (1) hide show
  1. pages/hari.py +23 -0
pages/hari.py CHANGED
@@ -55,6 +55,12 @@ def excel_details_page():
55
  df[0].to_excel(writer, sheet_name="Sheet1")
56
  df[1].to_excel(writer, sheet_name="Sheet2")""", language="python")
57
 
 
 
 
 
 
 
58
  if st.button("Back to Home"):
59
  st.session_state['page'] = "home"
60
 
@@ -190,6 +196,11 @@ for i, chunk in enumerate(chunks):
190
  </ul>
191
  """, unsafe_allow_html=True)
192
 
 
 
 
 
 
193
  # Button to go back to the main page
194
  if st.button("Back to Home"):
195
  st.session_state['page'] = "home"
@@ -303,6 +314,12 @@ def xml_details_page():
303
  """)
304
  st.code('import xml.etree.ElementTree as ET\ntree = ET.parse("file.xml")', language="python")
305
 
 
 
 
 
 
 
306
  if st.button("Back to Home"):
307
  st.session_state['page'] = "home"
308
 
@@ -383,6 +400,12 @@ def html_details_page():
383
  - This converts your dataframe into an HTML file.
384
  - You can save the HTML file at a specified location.
385
  """)
 
 
 
 
 
 
386
  if st.button("Back to Home"):
387
  st.session_state['page'] = "home"
388
 
 
55
  df[0].to_excel(writer, sheet_name="Sheet1")
56
  df[1].to_excel(writer, sheet_name="Sheet2")""", language="python")
57
 
58
+ st.markdown("<h5 style='color:black;'>Download Jupyter Notebook or PDF with Code Examples</h5>", unsafe_allow_html=True)
59
+ notebook_url = "https://colab.research.google.com/drive/1gkwpP7dFNXwQ7EgmXw-Mh9ifENAMVg8I"
60
+ st.write("Click below for Jupyter notebook:")
61
+ st.markdown(f"[Open Jupyter Notebook in Google Colab]({notebook_url})")
62
+
63
+
64
  if st.button("Back to Home"):
65
  st.session_state['page'] = "home"
66
 
 
196
  </ul>
197
  """, unsafe_allow_html=True)
198
 
199
+ st.markdown("<h5 style='color:black;'>Download Jupyter Notebook or PDF with Code Examples</h5>", unsafe_allow_html=True)
200
+ notebook_url = "https://colab.research.google.com/drive/1pXrfcADbDzHzB-Q_oOBZyi7_97uZgRG7#scrollTo=b8491518"
201
+ st.write("Click below for Jupyter notebook:")
202
+ st.markdown(f"[Open Jupyter Notebook in Google Colab]({notebook_url})")
203
+
204
  # Button to go back to the main page
205
  if st.button("Back to Home"):
206
  st.session_state['page'] = "home"
 
314
  """)
315
  st.code('import xml.etree.ElementTree as ET\ntree = ET.parse("file.xml")', language="python")
316
 
317
+ # Google Colab Link
318
+ st.markdown("<h5 style='color:blue;'>Download Jupyter Notebook or PDF with Code Examples</h5>", unsafe_allow_html=True)
319
+ notebook_url = "https://colab.research.google.com/drive/14xGAxu_rKAl_eslODfQXoTEpN7NU4lk6"
320
+ st.write("Click below for Jupyter notebook:")
321
+ st.markdown(f"[Open Jupyter Notebook in Google Colab]({notebook_url})")
322
+
323
  if st.button("Back to Home"):
324
  st.session_state['page'] = "home"
325
 
 
400
  - This converts your dataframe into an HTML file.
401
  - You can save the HTML file at a specified location.
402
  """)
403
+
404
+ # Google Colab Link
405
+ st.markdown("<h5 style='color:red;'>Download Jupyter Notebook or PDF with Code Examples</h5>", unsafe_allow_html=True)
406
+ notebook_url = "https://colab.research.google.com/drive/1IgIEoWqw-pHSSMjuWzY2FlFJVIoNwL3C"
407
+ st.write("Click below for Jupyter notebook:")
408
+ st.markdown(f"[Open Jupyter Notebook in Google Colab]({notebook_url})")
409
  if st.button("Back to Home"):
410
  st.session_state['page'] = "home"
411