jaifar530
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -235,6 +235,7 @@ def predict_author(new_text, model, tokenizer, label_encoder):
|
|
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 + " "
|
|
|
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(3):
|
241 |
repeated_text += new_text + " "
|