Hugging Face
Search models, datasets, users...
Ctrl K
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
More
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Greys
/
milstone2
Like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Gregoryjr
commited on
Apr 11, 2023
Commit
b68d098
·
unverified
·
1 Parent(s):
81311d9
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+1
-1
app.py
CHANGED
Viewed
@@ -26,7 +26,7 @@ if con:
26
result = classifier(text)
27
28
29
-
st.
writes
(result[0]['score'])
30
31
32
26
result = classifier(text)
27
28
29
+
st.
write
(
f"Score: {
result[0]['score']
*100:.2f}% confidence"
)
30
31
32