Spaces:
Sleeping
Sleeping
Update Demo.py
Browse files
Demo.py
CHANGED
|
@@ -552,5 +552,7 @@ abbreviation = output['language'][0].result
|
|
| 552 |
language = language_map[abbreviation]
|
| 553 |
confidence = round(float(output['language'][0].metadata[abbreviation])*100, 2)
|
| 554 |
|
|
|
|
|
|
|
| 555 |
st.markdown(f"This text is in **{language} ({abbreviation})** language.")
|
| 556 |
st.markdown(f"Classification Confidence: **{confidence}%**")
|
|
|
|
| 552 |
language = language_map[abbreviation]
|
| 553 |
confidence = round(float(output['language'][0].metadata[abbreviation])*100, 2)
|
| 554 |
|
| 555 |
+
st.write("")
|
| 556 |
+
st.write("")
|
| 557 |
st.markdown(f"This text is in **{language} ({abbreviation})** language.")
|
| 558 |
st.markdown(f"Classification Confidence: **{confidence}%**")
|