Spaces:
Paused
Paused
fix defaults
Browse files
app.py
CHANGED
@@ -180,7 +180,7 @@ if __name__ == "__main__":
|
|
180 |
css=".underline-on-hover:hover { text-decoration: underline; } .flagging { font-size:12px; color:Silver; }"
|
181 |
)
|
182 |
|
183 |
-
def submit(query, lang, k):
|
184 |
if query == "":
|
185 |
raise ValueError("Invalid query provided")
|
186 |
return {
|
|
|
180 |
css=".underline-on-hover:hover { text-decoration: underline; } .flagging { font-size:12px; color:Silver; }"
|
181 |
)
|
182 |
|
183 |
+
def submit(query, lang="en", k=10):
|
184 |
if query == "":
|
185 |
raise ValueError("Invalid query provided")
|
186 |
return {
|