Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,43 +1,3 @@
|
|
1 |
-
Hugging Face's logo
|
2 |
-
Hugging Face
|
3 |
-
Search models, datasets, users...
|
4 |
-
Models
|
5 |
-
Datasets
|
6 |
-
Spaces
|
7 |
-
Posts
|
8 |
-
Docs
|
9 |
-
Pricing
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
Spaces:
|
14 |
-
|
15 |
-
awacke1
|
16 |
-
/
|
17 |
-
NLPSentenceSimilarityHeatmap
|
18 |
-
|
19 |
-
like
|
20 |
-
3
|
21 |
-
|
22 |
-
App
|
23 |
-
Files
|
24 |
-
Community
|
25 |
-
Settings
|
26 |
-
NLPSentenceSimilarityHeatmap
|
27 |
-
/
|
28 |
-
app.py
|
29 |
-
awacke1's picture
|
30 |
-
awacke1
|
31 |
-
Update app.py
|
32 |
-
c4d6857
|
33 |
-
12 months ago
|
34 |
-
raw
|
35 |
-
history
|
36 |
-
blame
|
37 |
-
edit
|
38 |
-
delete
|
39 |
-
No virus
|
40 |
-
3.06 kB
|
41 |
import streamlit as st
|
42 |
import nltk
|
43 |
from transformers import pipeline
|
@@ -117,4 +77,3 @@ if text:
|
|
117 |
cluster_list = cluster_examples(sentences, embed, nc)
|
118 |
st.subheader("Results from K-Means Clustering")
|
119 |
cluster_table = st.table(cluster_list)
|
120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
import nltk
|
3 |
from transformers import pipeline
|
|
|
77 |
cluster_list = cluster_examples(sentences, embed, nc)
|
78 |
st.subheader("Results from K-Means Clustering")
|
79 |
cluster_table = st.table(cluster_list)
|
|