subh71 commited on
Commit
da97a3b
·
verified ·
1 Parent(s): ae5c2d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,7 +16,8 @@ def main():
16
  if st.button("Analyze"):
17
  # Perform inference using the loaded model
18
  result = model(input_text)
19
- st.write("Prediction:", result[0]['label'], "| Score:", result[0]['score'])
 
20
 
21
  if __name__ == "__main__":
22
  main()
 
16
  if st.button("Analyze"):
17
  # Perform inference using the loaded model
18
  result = model(input_text)
19
+ #st.write("Prediction:", result[0]['label'], "| Score:", result[0]['score'])
20
+ st.write. st.write(generated_sequences[-1])
21
 
22
  if __name__ == "__main__":
23
  main()