Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,8 @@ form.header("Main Settings")
|
|
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 |
|
|
|
|
|
53 |
if ebay_topic == "Motor":
|
54 |
similar_topics, similarity = topic_model.find_topics("Motor", top_n=top_n)
|
55 |
elif ebay_topic == "Bicycle":
|
|
|
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 |
|
53 |
+
form.form_submit_button("Run")
|
54 |
+
|
55 |
if ebay_topic == "Motor":
|
56 |
similar_topics, similarity = topic_model.find_topics("Motor", top_n=top_n)
|
57 |
elif ebay_topic == "Bicycle":
|