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
0fff674
nix-tts
/
elements
/
component.py
rendchevi
initial commit
b546670
over 2 years ago
raw
Copy download link
history
blame
No virus
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
)