Logeswaransr commited on
Commit
5870efb
1 Parent(s): e4aeeee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -36,8 +36,9 @@ if prompt:=st.chat_input("What is up!"):
36
  'content': prompt})
37
 
38
  out=pipe(prompt)
 
39
 
40
- response = f"Analysis: {out}"
41
 
42
  with st.chat_message("assistant"):
43
  st.markdown(response)
 
36
  'content': prompt})
37
 
38
  out=pipe(prompt)
39
+ response=out[0]['generated_text']
40
 
41
+ response = f"Analysis: {response}"
42
 
43
  with st.chat_message("assistant"):
44
  st.markdown(response)