Spaces:
Build error
Build error
Upload app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,10 @@ col1, col2 = st.columns([3, 3], gap="medium")
|
|
36 |
|
37 |
with col1:
|
38 |
st.subheader("Question")
|
39 |
-
query_text = st.text_input(
|
|
|
|
|
|
|
40 |
|
41 |
with col1:
|
42 |
years_choice = ["2020", "2019", "2018", "2017", "2016"]
|
@@ -110,7 +113,7 @@ with st.sidebar:
|
|
110 |
with st.sidebar:
|
111 |
threshold = float(
|
112 |
st.number_input(
|
113 |
-
label="Similarity Score Threshold", step=0.05, format="%.2f", value=0.
|
114 |
)
|
115 |
)
|
116 |
|
|
|
36 |
|
37 |
with col1:
|
38 |
st.subheader("Question")
|
39 |
+
query_text = st.text_input(
|
40 |
+
"Input Query",
|
41 |
+
value="What was discussed regarding Wearables revenue performance?",
|
42 |
+
)
|
43 |
|
44 |
with col1:
|
45 |
years_choice = ["2020", "2019", "2018", "2017", "2016"]
|
|
|
113 |
with st.sidebar:
|
114 |
threshold = float(
|
115 |
st.number_input(
|
116 |
+
label="Similarity Score Threshold", step=0.05, format="%.2f", value=0.25
|
117 |
)
|
118 |
)
|
119 |
|