Joekd608 commited on
Commit
1f190f6
1 Parent(s): 9a2a14f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,4 +32,4 @@ if text:
32
  response = pipe(f"Answer the question: {text}", max_length=150, num_return_sequences=1)
33
 
34
  # Display the generated response
35
- st.write(f"Answer: {response[1]['generated_text']}")
 
32
  response = pipe(f"Answer the question: {text}", max_length=150, num_return_sequences=1)
33
 
34
  # Display the generated response
35
+ st.text(f"Answer: {response[0]['generated_text']}")