yenniejun commited on
Commit
dfac00f
β€’
1 Parent(s): 55eef5c

adding max chars to input

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -30,7 +30,9 @@ remove_punct = st.checkbox(label="Remove punctuation", value=True)
30
  input_str = st.text_area(
31
  "Input text",
32
  height=150,
33
- value="權ηŸ₯ ι«˜ιΊ— εœ‹δΊ‹θ‡£ζŸθ¨€γ€‚ δΌζƒŸε°ι‚¦, θ‡ͺ ζ­ζ„ηŽ‹ η„‘ε—£θ–¨ι€δΉ‹εΎŒ, θΎ›ζ—½ 子 禑 ε†’ε§“η«Šδ½θ€….")
 
 
34
 
35
  if remove_punct and input_str:
36
  input_str = strip_input_str(input_str)
 
30
  input_str = st.text_area(
31
  "Input text",
32
  height=150,
33
+ value="權ηŸ₯ ι«˜ιΊ— εœ‹δΊ‹θ‡£ζŸθ¨€γ€‚ δΌζƒŸε°ι‚¦, θ‡ͺ ζ­ζ„ηŽ‹ η„‘ε—£θ–¨ι€δΉ‹εΎŒ, θΎ›ζ—½ 子 禑 ε†’ε§“η«Šδ½θ€….",
34
+ max_chars=500
35
+ )
36
 
37
  if remove_punct and input_str:
38
  input_str = strip_input_str(input_str)