Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,8 @@ headers = {
|
|
74 |
|
75 |
# Component Magic
|
76 |
mycomponent = components.declare_component("mycomponent", path="mycomponent") # load from __init__.py and index.html in mycomponent folder
|
77 |
-
from mycomponent import mycomponentvalue
|
|
|
78 |
st.write("Received", value)
|
79 |
|
80 |
# 2.🚲BikeAI🏆 Initialize session states
|
|
|
74 |
|
75 |
# Component Magic
|
76 |
mycomponent = components.declare_component("mycomponent", path="mycomponent") # load from __init__.py and index.html in mycomponent folder
|
77 |
+
from mycomponent import mycomponentvalue
|
78 |
+
value = mycomponent(my_input_value="hello there")
|
79 |
st.write("Received", value)
|
80 |
|
81 |
# 2.🚲BikeAI🏆 Initialize session states
|