Divyansh Kushwaha
commited on
Commit
·
3988f69
1
Parent(s):
ee7b40b
app.py
CHANGED
|
@@ -10,4 +10,7 @@ user_input = st.text_input("You:", "")
|
|
| 10 |
|
| 11 |
if st.button("Submit") and user_input:
|
| 12 |
response = pipe(user_input)[0]
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
if st.button("Submit") and user_input:
|
| 12 |
response = pipe(user_input)[0]
|
| 13 |
+
label = response['label']
|
| 14 |
+
score = response['score']
|
| 15 |
+
st.text("Label: ",label)
|
| 16 |
+
st.text("Score: ",score)
|