openfree commited on
Commit
729afb4
Β·
verified Β·
1 Parent(s): 1f6f9ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1987,7 +1987,7 @@ def download_novel(novel_text: str, format: str, language: str, session_id: str
1987
  line = line.strip()
1988
  if len(line) > 10: # 10자 μ΄μƒμ˜ μ˜λ―ΈμžˆλŠ” λ¬Έμž₯
1989
  # λŒ€ν™”λ¬Έμ΄λ©΄ μŠ€ν‚΅ (λ”°μ˜΄ν‘œλ‘œ μ‹œμž‘ν•˜λŠ” 경우)
1990
- if line.startswith('"') or line.startswith("'") or line.startswith('"') or line.startswith('''):
1991
  continue
1992
 
1993
  # λ§ˆμΉ¨ν‘œ, λŠλ‚Œν‘œ, λ¬ΌμŒν‘œλ‘œ λλ‚˜λŠ” 첫 λ¬Έμž₯만 μΆ”μΆœ
 
1987
  line = line.strip()
1988
  if len(line) > 10: # 10자 μ΄μƒμ˜ μ˜λ―ΈμžˆλŠ” λ¬Έμž₯
1989
  # λŒ€ν™”λ¬Έμ΄λ©΄ μŠ€ν‚΅ (λ”°μ˜΄ν‘œλ‘œ μ‹œμž‘ν•˜λŠ” 경우)
1990
+ if line.startswith('"') or line.startswith("'") or line.startswith('"') or line.startswith("'"):
1991
  continue
1992
 
1993
  # λ§ˆμΉ¨ν‘œ, λŠλ‚Œν‘œ, λ¬ΌμŒν‘œλ‘œ λλ‚˜λŠ” 첫 λ¬Έμž₯만 μΆ”μΆœ