merve HF staff commited on
Commit
f95ba2d
·
1 Parent(s): 173a459

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -20,9 +20,6 @@ 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
- input = st.text_input("What should I use to..")
24
- message(input, is_user=True) # align's the message to the right
25
-
26
  data = query(
27
  {
28
  "inputs": {
@@ -37,7 +34,10 @@ try:
37
  message(f"{bot_answer} is the best task for this :)")
38
 
39
  except:
40
- message("Let me see 👀 ")
 
 
 
41
 
42
 
43
 
 
20
  # message(message_) # display all the previous message
21
 
22
  #placeholder = st.empty() # placeholder for latest message
 
 
 
23
  data = query(
24
  {
25
  "inputs": {
 
34
  message(f"{bot_answer} is the best task for this :)")
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