Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,6 @@ with open('./trained_model.pkl', 'rb') as file:
|
|
6 |
|
7 |
input = st.text_area('Enter text')
|
8 |
|
9 |
-
if
|
10 |
out = loaded_model(input)
|
11 |
st.json(out[0][0])
|
|
|
6 |
|
7 |
input = st.text_area('Enter text')
|
8 |
|
9 |
+
if input:
|
10 |
out = loaded_model(input)
|
11 |
st.json(out[0][0])
|