Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,8 +46,8 @@ This is an example of an auto-complete approach where the next token suggested b
|
|
46 |
The next token is predicted per probability and a weight if it is appeared in keyword user's history or there is a similarity to semantic user's history
|
47 |
|
48 |
""")
|
49 |
-
history_keyword_text = st.text_input("Enter users's history
|
50 |
-
semantic_text = st.text_input("Enter users's history
|
51 |
|
52 |
text = st.text_input("Enter a text for auto completion...", value='Where is Bill')
|
53 |
|
|
|
46 |
The next token is predicted per probability and a weight if it is appeared in keyword user's history or there is a similarity to semantic user's history
|
47 |
|
48 |
""")
|
49 |
+
history_keyword_text = st.text_input("Enter users's history <Keywords Match> (optional, i.e., 'Gates')", value="")
|
50 |
+
semantic_text = st.text_input("Enter users's history <Semantic> (optional, i.e., 'Microsoft' or 'President')", value="Microsoft")
|
51 |
|
52 |
text = st.text_input("Enter a text for auto completion...", value='Where is Bill')
|
53 |
|