Spaces:
Sleeping
Sleeping
jaifar530
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def predict_author(new_text, model, tokenizer, label_encoder):
|
|
126 |
new_text = st.text_area("Input Your Text Here:")
|
127 |
|
128 |
# Creates a button named 'Press me'
|
129 |
-
press_me_button = st.button("
|
130 |
|
131 |
if press_me_button:
|
132 |
predicted_author, author_probabilities = predict_author(new_text, loaded_model, tokenizer, label_encoder)
|
|
|
126 |
new_text = st.text_area("Input Your Text Here:")
|
127 |
|
128 |
# Creates a button named 'Press me'
|
129 |
+
press_me_button = st.button("Human or Robot?")
|
130 |
|
131 |
if press_me_button:
|
132 |
predicted_author, author_probabilities = predict_author(new_text, loaded_model, tokenizer, label_encoder)
|