Spaces:
Runtime error
Runtime error
ruanchaves
commited on
Commit
•
da00f10
1
Parent(s):
cc99942
uncheck reranker
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ def predict(s1, language, use_reranker, topk, steps):
|
|
129 |
inputs = [
|
130 |
gr.Textbox(label="Hashtag"),
|
131 |
gr.Dropdown(language_list, label="Language", value="english (fast)"),
|
132 |
-
gr.Checkbox(label="Use reranker", value=
|
133 |
gr.Slider(0, 100, value=20, label="Advanced setting - Beamsearch: Number of beams"),
|
134 |
gr.Slider(0, 100, value=13, label="Advanced setting - Maximum number of spaces allowed")
|
135 |
]
|
|
|
129 |
inputs = [
|
130 |
gr.Textbox(label="Hashtag"),
|
131 |
gr.Dropdown(language_list, label="Language", value="english (fast)"),
|
132 |
+
gr.Checkbox(label="Use reranker", value=False),
|
133 |
gr.Slider(0, 100, value=20, label="Advanced setting - Beamsearch: Number of beams"),
|
134 |
gr.Slider(0, 100, value=13, label="Advanced setting - Maximum number of spaces allowed")
|
135 |
]
|