Spaces:
Build error
Build error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -70,7 +70,7 @@ with st.sidebar:
|
|
| 70 |
st.subheader("Select Options:")
|
| 71 |
|
| 72 |
with st.sidebar:
|
| 73 |
-
num_results = int(st.number_input("Number of Results to query", 1,
|
| 74 |
|
| 75 |
|
| 76 |
# Choose encoder model
|
|
@@ -108,7 +108,7 @@ elif encoder_model == "SGPT":
|
|
| 108 |
|
| 109 |
|
| 110 |
with st.sidebar:
|
| 111 |
-
window = int(st.number_input("Sentence Window Size", 0,
|
| 112 |
|
| 113 |
with st.sidebar:
|
| 114 |
threshold = float(
|
|
|
|
| 70 |
st.subheader("Select Options:")
|
| 71 |
|
| 72 |
with st.sidebar:
|
| 73 |
+
num_results = int(st.number_input("Number of Results to query", 1, 15, value=5))
|
| 74 |
|
| 75 |
|
| 76 |
# Choose encoder model
|
|
|
|
| 108 |
|
| 109 |
|
| 110 |
with st.sidebar:
|
| 111 |
+
window = int(st.number_input("Sentence Window Size", 0, 10, value=3))
|
| 112 |
|
| 113 |
with st.sidebar:
|
| 114 |
threshold = float(
|