Spaces:
Running
Running
Update app.py
Browse files
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"])), 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"], "all")), outputs="label", title="Tag Search", description="Search for tags in the dataset.").launch()
|
76 |
|
77 |
if __name__ == "__main__":
|
78 |
main()
|