awacke1 commited on
Commit
4ecdca7
1 Parent(s): 03c6044

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 - mycomponent(my_input_value="hello there")
 
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