Spaces:
Running
Running
Chidam Gopal
commited on
intent and location updates
Browse files
app.py
CHANGED
|
@@ -18,6 +18,7 @@ def get_location_finder():
|
|
| 18 |
|
| 19 |
cls = get_intent_classifier()
|
| 20 |
query = st.text_input("Enter a query", value="What is the weather today")
|
|
|
|
| 21 |
pred_result, proba_result = cls.find_intent(query)
|
| 22 |
|
| 23 |
ner = get_location_finder()
|
|
|
|
| 18 |
|
| 19 |
cls = get_intent_classifier()
|
| 20 |
query = st.text_input("Enter a query", value="What is the weather today")
|
| 21 |
+
query = query.lower()
|
| 22 |
pred_result, proba_result = cls.find_intent(query)
|
| 23 |
|
| 24 |
ner = get_location_finder()
|