Spaces:
Running
Running
Update models/hsd_tr.py
Browse files- models/hsd_tr.py +1 -1
models/hsd_tr.py
CHANGED
@@ -14,7 +14,7 @@ def write():
|
|
14 |
)
|
15 |
|
16 |
tr_input = st.text_area("Enter your text here:", height=50, key="tr_input") #height=30
|
17 |
-
if st.button("
|
18 |
st.write(" ")
|
19 |
with st.spinner('Generating predictions...'):
|
20 |
result_sentiment_tr = sentiment_pipeline_tr(tr_input)
|
|
|
14 |
)
|
15 |
|
16 |
tr_input = st.text_area("Enter your text here:", height=50, key="tr_input") #height=30
|
17 |
+
if st.button("Model prediction", key="tr_predict"):
|
18 |
st.write(" ")
|
19 |
with st.spinner('Generating predictions...'):
|
20 |
result_sentiment_tr = sentiment_pipeline_tr(tr_input)
|