HF-LLM-Intent-Detection / TRANSFORMERS.py
georgeek's picture
Transfer
5ecde30
raw
history blame
1.07 kB
import streamlit as st
import os
import pandas as pd
import re
from time import time
import warnings
warnings.filterwarnings("ignore", category=FutureWarning)
# Set the page configuration
st.set_page_config(
page_title="Intent Detection",
page_icon="🤖",
layout="centered",
initial_sidebar_state="expanded",
)
# Set the sidebar
st.sidebar.title("Intent Detection ")
st.sidebar.title("🤖 🛠️ 🕹️")
# Add a footer
st.markdown(
"""
<style>
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: #f0f0f0;
color: black;
text-align: center;
padding: 10px;
font-size: 12px;
}
</style>
""",
unsafe_allow_html=True,
)
st.markdown(
"""
<div class="footer">
<p>© 2024 IBM. All rights reserved.</p>
</div>
""",
unsafe_allow_html=True,
)
# Title of the app
st.title("Intent Detection Flow")
# Select the trained model from left page
st.header("Selectează modelul din meniul din stanga 👈")
st.stop()