ThangDinh commited on
Commit
ae41529
·
1 Parent(s): b35850f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -14,7 +14,8 @@ if question:
14
  st.write("loading...")
15
 
16
  answer = client.question_answering(question=question, context=context)
17
- st.write(f"User has sent the following prompt: {answer['answer']}")
 
18
 
19
  print("done")
20
 
 
14
  st.write("loading...")
15
 
16
  answer = client.question_answering(question=question, context=context)
17
+ answer_txt = answer["answer"]
18
+ st.write(f"User has sent the following prompt: {answer_txt}")
19
 
20
  print("done")
21