picocreator commited on
Commit
ead50fe
·
1 Parent(s): 99d45f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ def translate(text, target_language, inState=PREFIX_STATE):
115
  yield out_str.strip()
116
  out_last = i + 1
117
 
118
- if "# " in out_str and "\n#" in out_str
119
  out_str = out_str.split("\n## ")[0].split("\n# ")[0]
120
  yield out_str.strip()
121
 
 
115
  yield out_str.strip()
116
  out_last = i + 1
117
 
118
+ if "# " in out_str and "\n#" in out_str :
119
  out_str = out_str.split("\n## ")[0].split("\n# ")[0]
120
  yield out_str.strip()
121