Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ def run():
|
|
128 |
user_input = st.text_input('讻转讜讘 讗转 讛诪拽讜专 讛诪讘讜拽砖', placeholder='讘讘讗 拽诪讗 讚祝 讘 注诪讜讚 讘')
|
129 |
top_k = st.sidebar.slider('讻诪讛 住驻专讬诐 诇住专讜拽 top_k:',0,20,10)
|
130 |
num_of_results = st.sidebar.slider('诪住驻专 讛转讜爪讗讜转 砖讘专爪讜谞讱 诇讛爪讬讙:',1,25,5)
|
131 |
-
algorithm = st.sidebar.selectbox('讛讗诇讙讜专讬转诐 诇讚讬专讜讙 讛转讜爪讗讜转',['token_ratio','ratio','WRatio','
|
132 |
|
133 |
if user_input!="":
|
134 |
time0 = timer()
|
|
|
128 |
user_input = st.text_input('讻转讜讘 讗转 讛诪拽讜专 讛诪讘讜拽砖', placeholder='讘讘讗 拽诪讗 讚祝 讘 注诪讜讚 讘')
|
129 |
top_k = st.sidebar.slider('讻诪讛 住驻专讬诐 诇住专讜拽 top_k:',0,20,10)
|
130 |
num_of_results = st.sidebar.slider('诪住驻专 讛转讜爪讗讜转 砖讘专爪讜谞讱 诇讛爪讬讙:',1,25,5)
|
131 |
+
algorithm = st.sidebar.selectbox('讛讗诇讙讜专讬转诐 诇讚讬专讜讙 讛转讜爪讗讜转',['token_ratio','ratio','WRatio','partial_ratio','token_set_ratio','partial_token_set_ratio','token_sort_ratio'])
|
132 |
|
133 |
if user_input!="":
|
134 |
time0 = timer()
|