Spaces:
Runtime error
Runtime error
import streamlit as st | |
from streamlit_chat import message | |
from helper import model, upload, record | |
title = "Emotion Audio Classifier" | |
st.title(title) | |
st.subheader('This Web App allows user to classify Emotion from Audio File') | |
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() | |
model() | |