Spaces:
Build error
Build error
Download src/ui/components/interaction_form.py from cryogenic22/SYNRG: direct link, hf CLI and curl.
- Browser
- Download file 340 Bytes
-
https://huggingface.co/spaces/cryogenic22/SYNRG/resolve/main/src/ui/components/interaction_form.py
- Command line
-
hf download hf://spaces/cryogenic22/SYNRG/src/ui/components/interaction_form.py
-
curl -L -o interaction_form.py https://huggingface.co/spaces/cryogenic22/SYNRG/resolve/main/src/ui/components/interaction_form.py
340 Bytes
| # src/ui/components/interaction_form.py | |
| import streamlit as st | |
| from typing import Optional, Dict | |
| class InteractionForm: | |
| """Component for interaction input form""" | |
| def show(self) -> Optional[Dict]: | |
| """Display interaction form""" | |
| with st.form("interaction_form"): | |
| # Form fields here | |
| pass | |