Audio_Emotion_Classifier / pages /.ipynb_checkpoints /Classify by recordings-checkpoint.py
Ridzuan's picture
update app
0c2d8c4
raw
history blame contribute delete
790 Bytes
import streamlit as st
from helper import model, upload, record
title = "Emotion Audio Classifier with recordings"
st.title(title)
st.write('Click show features to see the extracted features used for prediction.')
st.write('Click classify to get predictions.')
def add_bg_from_url():
st.markdown(
f"""
<style>
.stApp {{
background-image: url("https://img.freepik.com/free-vector/white-grid-line-pattern-gray-background_53876-99015.jpg? w=996&t=st=1667979021~exp=1667979621~hmac=25b2066b6c3abd08a038e86ad9579fe48db944b57f853bd8ee2a00a98f752d7b");
background-attachment: fixed;
background-size: cover
}}
</style>
""",
unsafe_allow_html=True
)
add_bg_from_url()
record()