Download app.py from Thrisha04/Digital_Aggression_Control: direct link, hf CLI and curl.
- Browser
- Download file 719 Bytes
-
https://huggingface.co/spaces/Thrisha04/Digital_Aggression_Control/resolve/main/app.py
- Command line
-
hf download hf://spaces/Thrisha04/Digital_Aggression_Control/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Thrisha04/Digital_Aggression_Control/resolve/main/app.py
719 Bytes
| import streamlit as st | |
| from PIL import Image | |
| hide_menu = """ | |
| <style> | |
| #MainMenu{ | |
| visibility:hidden; | |
| } | |
| footer{ | |
| visibility:hidden; | |
| } | |
| </style> | |
| """ | |
| showWarningOnDirectExecution = False | |
| image = Image.open('icons/logo.jpg') | |
| img1 = Image.open('icons/logo.jpg') | |
| st.set_page_config(page_title = "Digital Aggression Control", page_icon = image) | |
| st.markdown(hide_menu, unsafe_allow_html=True) | |
| st.sidebar.markdown("<br>", unsafe_allow_html=True) | |
| st.sidebar.image(image , use_column_width=True, output_format='auto') | |
| st.sidebar.markdown("---") | |
| st.sidebar.markdown("<h1 style='text-align: center; font-size: 18px; color: #0080FF;'> Thrisha Reddy Mareddy </h1>", unsafe_allow_html=True) | |
| st.image(img1 , use_column_width=True) | |