Spaces:
Sleeping
Sleeping
Change endpoint name to /search
Browse files
app.py
CHANGED
@@ -37,6 +37,7 @@ def redirect(query, collection_name):
|
|
37 |
|
38 |
gradio_interface = gradio.Interface(
|
39 |
fn=redirect,
|
|
|
40 |
inputs=["text", "text"],
|
41 |
outputs="text",
|
42 |
examples=[
|
|
|
37 |
|
38 |
gradio_interface = gradio.Interface(
|
39 |
fn=redirect,
|
40 |
+
api_name="search",
|
41 |
inputs=["text", "text"],
|
42 |
outputs="text",
|
43 |
examples=[
|