Kavinda2000003 commited on
Commit
af30526
·
verified ·
1 Parent(s): 23df277

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ if uploaded_file:
32
 
33
  # Analyze on button click
34
  if st.button("Analyze Content"):
35
- if len(text) < 50:
36
  st.warning("Not enough text to analyze!")
37
  else:
38
  result = detector(text[:5000]) # First 5000 chars for speed
 
32
 
33
  # Analyze on button click
34
  if st.button("Analyze Content"):
35
+ if len(text) < 5000:
36
  st.warning("Not enough text to analyze!")
37
  else:
38
  result = detector(text[:5000]) # First 5000 chars for speed