Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,6 +38,7 @@ if st.button("Analyse"):
|
|
| 38 |
if result['score'] > max_score:
|
| 39 |
max_score = result['score']
|
| 40 |
max_label = result['label']
|
| 41 |
-
|
|
|
|
| 42 |
st.write("Label:", max_label)
|
| 43 |
st.write("Score:", max_score)
|
|
|
|
| 38 |
if result['score'] > max_score:
|
| 39 |
max_score = result['score']
|
| 40 |
max_label = result['label']
|
| 41 |
+
|
| 42 |
+
st.write("Text:", trans)
|
| 43 |
st.write("Label:", max_label)
|
| 44 |
st.write("Score:", max_score)
|