Spaces:
Sleeping
Sleeping
jaifar530
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -235,6 +235,11 @@ def predict_author(new_text, model, tokenizer, label_encoder):
|
|
235 |
|
236 |
new_text = st.text_area("Input Your Text Here:")
|
237 |
|
|
|
|
|
|
|
|
|
|
|
238 |
|
239 |
# Creates a button named 'Press me'
|
240 |
press_me_button = st.button("Human or Robot?")
|
|
|
235 |
|
236 |
new_text = st.text_area("Input Your Text Here:")
|
237 |
|
238 |
+
# Repeat the text twice with a space at the end of each iteration
|
239 |
+
for _ in range(3):
|
240 |
+
repeated_text += new_text + " "
|
241 |
+
|
242 |
+
new_text = repeated_text
|
243 |
|
244 |
# Creates a button named 'Press me'
|
245 |
press_me_button = st.button("Human or Robot?")
|