Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
rendchevi11
/
nix-tts
like
40
Runtime error
App
Files
Files
Community
2
1139791
nix-tts
/
elements
/
component.py
rendchevi
initial commit
b546670
over 2 years ago
raw
Copy download link
history
blame
Safe
216 Bytes
# Streamlit
import
streamlit
as
st
def
centered_text
(
input_text,
mode =
"h1"
,
):
st.markdown(
f"<
{mode}
style='text-align: center;'>
{input_text}
</
{mode}
>"
,
unsafe_allow_html =
True
)