Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,6 +43,10 @@ topics, probs = fit_transform(topic_model, tiktok)
|
|
43 |
#placeholder = st.empty()
|
44 |
#text_input = placeholder.text_area("Enter product topic here", height=300)
|
45 |
#text_input = st.text_area("Enter product topic here", value = "motor")
|
|
|
|
|
|
|
|
|
46 |
ebay_topic= form.selectbox("eBay Products Topic Selection", ["Motor", "Bicycle", "Beauty", "Basketball", "Fitness"])
|
47 |
top_n = st.sidebar.slider("Select a number of topics", 1, 30, 5, 1)
|
48 |
|
|
|
43 |
#placeholder = st.empty()
|
44 |
#text_input = placeholder.text_area("Enter product topic here", height=300)
|
45 |
#text_input = st.text_area("Enter product topic here", value = "motor")
|
46 |
+
form = st.sidebar.form("Main Settings")
|
47 |
+
|
48 |
+
form.header("Main Settings")
|
49 |
+
|
50 |
ebay_topic= form.selectbox("eBay Products Topic Selection", ["Motor", "Bicycle", "Beauty", "Basketball", "Fitness"])
|
51 |
top_n = st.sidebar.slider("Select a number of topics", 1, 30, 5, 1)
|
52 |
|