Spaces:
Sleeping
Sleeping
Update app.py
Browse files116 unmodified lines117118119120121122123116 unmodified lineslabels, results = hybrid_search(query)label_text = ", ".join(labels) if labels else "No label confidently predicted"return label_text, resultswith gr.Blocks(title="GitHub Issue Hybrid Search") as demo:116 unmodified lines117118119120121122123124125126127128129130131132133134135116 unmodified lineslabels, results = hybrid_search(query)label_text = ", ".join(labels) if labels else "No label confidently predicted"table_data = []for r in results:table_data.append([r["Issue"],r["Final score"],r["Semantic"],r["Label overlap"],r["Labels"],r["URL"],])return label_text, table_datawith gr.Blocks(title="GitHub Issue Hybrid Search") as demo:
app.py+13-1