Spaces:
Runtime error
Runtime error
import streamlit as st | |
with st.form(key='my_form'): | |
text_input = st.text_input(label='Username') | |
submit_button = st.form_submit_button(label='Submit') | |
def style_css(url): | |
st.markdown(f'<link href="{url}" rel="stylesheet">', unsafe_allow_html=True) | |
def js(url): | |
st.markdown(f'<script src="{url}"></script>', unsafe_allow_html=True) | |
style_css("https://huggingface.co/spaces/ports/discussion/raw/main/style.css") | |
js("https://huggingface.co/spaces/ports/discussion/raw/main/a.js") | |