Spaces:
Sleeping
Sleeping
Hellisotherpeople
commited on
Commit
·
d79d1b9
1
Parent(s):
0723a2c
Update app.py
Browse files
app.py
CHANGED
@@ -140,7 +140,7 @@ query_form = st.form("Query the Index:")
|
|
140 |
query_form.write("Step 1: Find Arguments")
|
141 |
query_form.write("Use semantic SQL from txtai to find some arguments, we use indexids to keep track of them.")
|
142 |
query_form.caption("You can use the semantic SQL to explore the dataset too! The possibilities are limitless!")
|
143 |
-
query_sql = query_form.text_area("Enter a semantic SQL statement", value = f"select topic, * from txtai where similar('Trump and US relations with China') and topic like '%trump%' and text like '%
|
144 |
|
145 |
query_form_submitted = query_form.form_submit_button("Query")
|
146 |
|
|
|
140 |
query_form.write("Step 1: Find Arguments")
|
141 |
query_form.write("Use semantic SQL from txtai to find some arguments, we use indexids to keep track of them.")
|
142 |
query_form.caption("You can use the semantic SQL to explore the dataset too! The possibilities are limitless!")
|
143 |
+
query_sql = query_form.text_area("Enter a semantic SQL statement", value = f"select topic, * from txtai where similar('Trump and US relations with China') and topic like '%trump%' and text like '%china%' limit 1")
|
144 |
|
145 |
query_form_submitted = query_form.form_submit_button("Query")
|
146 |
|