Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,10 @@ context = "To extract information from documents, use sentence similarity task.
|
|
20 |
# message(message_) # display all the previous message
|
21 |
|
22 |
#placeholder = st.empty() # placeholder for latest message
|
|
|
|
|
|
|
|
|
23 |
data = query(
|
24 |
{
|
25 |
"inputs": {
|
@@ -35,9 +39,5 @@ try:
|
|
35 |
|
36 |
except:
|
37 |
message("I'm listening 👀 ")
|
38 |
-
input = st.text_input()
|
39 |
-
message(input, is_user=True) # align's the message to the right
|
40 |
-
|
41 |
-
|
42 |
|
43 |
|
|
|
20 |
# message(message_) # display all the previous message
|
21 |
|
22 |
#placeholder = st.empty() # placeholder for latest message
|
23 |
+
|
24 |
+
input = st.text_input()
|
25 |
+
message(input, is_user=True) # align's the message to the right
|
26 |
+
|
27 |
data = query(
|
28 |
{
|
29 |
"inputs": {
|
|
|
39 |
|
40 |
except:
|
41 |
message("I'm listening 👀 ")
|
|
|
|
|
|
|
|
|
42 |
|
43 |
|