Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,16 +60,16 @@ def getSentenceTrain():
|
|
60 |
sentences_train_f.close()
|
61 |
return sentences_train
|
62 |
|
63 |
-
SGD_74_f = open('Shallow machine learning/pickles/SGD_74.pickle', "rb")
|
64 |
-
SGD_train = pickle.load(SGD_74_f)
|
65 |
-
SGD_74_f.close()
|
66 |
|
67 |
-
logreg_79_f = open('Shallow machine learning/pickles/logreg_79.pickle', "rb")
|
68 |
-
logreg_train = pickle.load(logreg_79_f)
|
69 |
-
logreg_79_f.close()
|
70 |
|
71 |
-
# get saved CNN model
|
72 |
-
model = keras.models.load_model("Deep learning/CNN_82")
|
73 |
|
74 |
def vote(test_point, _test):
|
75 |
print("Voting on video effectivess...\n")
|
|
|
60 |
sentences_train_f.close()
|
61 |
return sentences_train
|
62 |
|
63 |
+
# SGD_74_f = open('Shallow machine learning/pickles/SGD_74.pickle', "rb")
|
64 |
+
# SGD_train = pickle.load(SGD_74_f)
|
65 |
+
# SGD_74_f.close()
|
66 |
|
67 |
+
# logreg_79_f = open('Shallow machine learning/pickles/logreg_79.pickle', "rb")
|
68 |
+
# logreg_train = pickle.load(logreg_79_f)
|
69 |
+
# logreg_79_f.close()
|
70 |
|
71 |
+
# # get saved CNN model
|
72 |
+
# model = keras.models.load_model("Deep learning/CNN_82")
|
73 |
|
74 |
def vote(test_point, _test):
|
75 |
print("Voting on video effectivess...\n")
|