Spaces:
Sleeping
Sleeping
poemsforaphrodite
commited on
Commit
•
b600161
1
Parent(s):
783a4dd
Update app.py
Browse files
app.py
CHANGED
@@ -608,7 +608,7 @@ def show_tabular_data(df, co, country_code):
|
|
608 |
our_score = results_df.loc[results_df['URL'].str.contains('Our URL'), 'Score'].values[0]
|
609 |
|
610 |
# Display the styled DataFrame without index
|
611 |
-
st.
|
612 |
|
613 |
st.write(f"Our page ranks {our_rank} out of {total_results} in terms of relevancy score.")
|
614 |
st.write(f"Our relevancy score: {our_score:.4f}")
|
|
|
608 |
our_score = results_df.loc[results_df['URL'].str.contains('Our URL'), 'Score'].values[0]
|
609 |
|
610 |
# Display the styled DataFrame without index
|
611 |
+
st.markdown(results_df.style.highlight_max(axis=0, color='lightgreen').hide(axis="index").to_html(), unsafe_allow_html=True)
|
612 |
|
613 |
st.write(f"Our page ranks {our_rank} out of {total_results} in terms of relevancy score.")
|
614 |
st.write(f"Our relevancy score: {our_score:.4f}")
|