Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def main():
|
|
25 |
|
26 |
|
27 |
input = st.text_area("Enter Tweet: ")
|
28 |
-
if st.button('Rate')
|
29 |
if selection == 'Model 1':
|
30 |
rating = rate_ModelOne(input, model_one)
|
31 |
st.write(f"Label: {rating[1]} \n Score : {rating[3]}")
|
|
|
25 |
|
26 |
|
27 |
input = st.text_area("Enter Tweet: ")
|
28 |
+
if st.button('Rate') and input:
|
29 |
if selection == 'Model 1':
|
30 |
rating = rate_ModelOne(input, model_one)
|
31 |
st.write(f"Label: {rating[1]} \n Score : {rating[3]}")
|