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