Spaces:
Sleeping
Sleeping
Create src/ui/components/interaction_form.py
Browse files
src/ui/components/interaction_form.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# src/ui/components/interaction_form.py
|
| 2 |
+
import streamlit as st
|
| 3 |
+
from typing import Optional, Dict
|
| 4 |
+
|
| 5 |
+
class InteractionForm:
|
| 6 |
+
"""Component for interaction input form"""
|
| 7 |
+
|
| 8 |
+
def show(self) -> Optional[Dict]:
|
| 9 |
+
"""Display interaction form"""
|
| 10 |
+
with st.form("interaction_form"):
|
| 11 |
+
# Form fields here
|
| 12 |
+
pass
|