jaifar530 commited on
Commit
048947e
·
unverified ·
1 Parent(s): 33507fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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 + " "