Toya0421 commited on
Commit
dd5a8ac
·
verified ·
1 Parent(s): 8c0f22b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def load_text(path: str) -> str:
68
  # 書き換え(プロンプト同一)
69
  # =========================
70
  def rewrite_level(text: str, target_level: int) -> str:
71
- level_to_flesch = {1: 90, 2: 70, 3: 55, 4: 40, 5: 25}
72
  target_flesch = level_to_flesch[int(target_level)]
73
 
74
  prompt = f"""
 
68
  # 書き換え(プロンプト同一)
69
  # =========================
70
  def rewrite_level(text: str, target_level: int) -> str:
71
+ level_to_flesch = {1: 90, 2: 75, 3: 65, 4: 55, 5: 40}
72
  target_flesch = level_to_flesch[int(target_level)]
73
 
74
  prompt = f"""