Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import os
|
| 2 |
import streamlit as st
|
|
|
|
| 3 |
|
| 4 |
# Hardcoded credentials
|
| 5 |
USERNAME = os.environ["USERNAME"]
|
|
@@ -43,7 +44,10 @@ if st.session_state.logged_in:
|
|
| 43 |
"π IPv4": [f"[{BASE_CONTENT_CODE_ASSIST_T2_MICRO}]({BASE_CONTENT_CODE_ASSIST_T2_MICRO})"]
|
| 44 |
}
|
| 45 |
|
| 46 |
-
#
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
| 48 |
else:
|
| 49 |
st.info("π Please log in to view the tasks.")
|
|
|
|
| 1 |
import os
|
| 2 |
import streamlit as st
|
| 3 |
+
import pandas as pd
|
| 4 |
|
| 5 |
# Hardcoded credentials
|
| 6 |
USERNAME = os.environ["USERNAME"]
|
|
|
|
| 44 |
"π IPv4": [f"[{BASE_CONTENT_CODE_ASSIST_T2_MICRO}]({BASE_CONTENT_CODE_ASSIST_T2_MICRO})"]
|
| 45 |
}
|
| 46 |
|
| 47 |
+
# Convert the data to a DataFrame
|
| 48 |
+
df = pd.DataFrame(data)
|
| 49 |
+
|
| 50 |
+
# Render the DataFrame with the URL as a hyperlink
|
| 51 |
+
st.markdown(df.to_markdown(index=False), unsafe_allow_html=True)
|
| 52 |
else:
|
| 53 |
st.info("π Please log in to view the tasks.")
|