Spaces:
Sleeping
Sleeping
Update app.py
Browse files3 unmodified lines45678910111213141516171819202122232425262728293031323 unmodified lines36373817181920212223242526272839404142433 unmodified linesimport pandas as pdimport streamlit as stimport cleantextst.markdown('<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">', unsafe_allow_html=True)
st.markdown("""<nav class="navbar fixed-top navbar-expand-lg navbar-dark" style="background-color: #3498DB;"> <a class="navbar-brand" href="https://youtube.com/dataprofessor" target="_blank">Data Professor</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarNav"> <ul class="navbar-nav"> <li class="nav-item active"> <a class="nav-link disabled" href="#">Home <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="https://youtube.com/dataprofessor" target="_blank">YouTube</a> </li> <li class="nav-item"> <a class="nav-link" href="https://twitter.com/thedataprof" target="_blank">Twitter</a> </li> </ul> </div></nav>""", unsafe_allow_html=True)
st.title("Sentiment Analysis Using streamlit")
3 unmodified lines["About", "Analyze Text", "Analyze CSV"])
if app_mode == "About": st.markdown( """ <style> .centered-text { text-align: center; } </style> """, unsafe_allow_html=True ) st.subheader("Project Description", className="centered-text") #st.markdown("<center>The sentiment analysis project aims to develop a machine learning model that can accurately classify and analyze the sentiment expressed in textual data. </center>", unsafe_allow_html=True) st.subheader("Project Description") st.markdown("The sentiment analysis project aims to develop a machine learning model that can accurately classify and analyze the sentiment expressed in textual data. ")
elif app_mode == "Analyze Text":app.py+24-12