furusu commited on
Commit
9050737
·
verified ·
1 Parent(s): c0bc253

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def main():
72
  def search(query, search_type):
73
  return rag.search(query, top_k=50, search_type=search_type)
74
 
75
- gr.Interface(search, inputs=("textarea", gr.Radio(["all", "general", "character"], "all")), outputs="label", title="Tag Search", description="Search for tags in the dataset.").launch()
76
 
77
  if __name__ == "__main__":
78
  main()
 
72
  def search(query, search_type):
73
  return rag.search(query, top_k=50, search_type=search_type)
74
 
75
+ gr.Interface(search, inputs=("textarea", gr.Radio(["all", "general", "character"], value="all")), outputs="label", title="Tag Search", description="Search for tags in the dataset.").launch()
76
 
77
  if __name__ == "__main__":
78
  main()