Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ text_labels = ['How to apply', 'how much can I get', 'who can apply']
|
|
16 |
|
17 |
# model.summary() # model architecture
|
18 |
|
19 |
-
def greet(
|
20 |
|
21 |
tokenizedText = tokenize.texts_to_matrix([string])
|
22 |
prediction = model.predict(np.array([tokenizedText[0]]))
|
|
|
16 |
|
17 |
# model.summary() # model architecture
|
18 |
|
19 |
+
def greet(string):
|
20 |
|
21 |
tokenizedText = tokenize.texts_to_matrix([string])
|
22 |
prediction = model.predict(np.array([tokenizedText[0]]))
|