Onegafer commited on
Commit
a3cc6b1
·
1 Parent(s): f7b975b

Change endpoint name to /search

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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=[