Update app.py
Browse files
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()
|