Spaces:
Runtime error
Runtime error
Catherine Breslin
commited on
Commit
•
6efa95a
1
Parent(s):
dc21a0e
Adding imports
Browse files
app.py
CHANGED
@@ -7,6 +7,9 @@ import numpy as np
|
|
7 |
import seaborn as sns
|
8 |
import matplotlib.pyplot as plt
|
9 |
from sklearn.cluster import KMeans
|
|
|
|
|
|
|
10 |
|
11 |
def cluster_examples(messages, embed, nc=3):
|
12 |
km = KMeans(
|
|
|
7 |
import seaborn as sns
|
8 |
import matplotlib.pyplot as plt
|
9 |
from sklearn.cluster import KMeans
|
10 |
+
import tensorflow as tf
|
11 |
+
import tensorflow_hub as hub
|
12 |
+
|
13 |
|
14 |
def cluster_examples(messages, embed, nc=3):
|
15 |
km = KMeans(
|