Cachoups commited on
Commit
bebfc38
·
verified ·
1 Parent(s): 99d35a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ def process_paragraph_2_sent(paragraph):
127
 
128
  return output
129
  except (IndexError, ValueError):
130
- {"Error": "Unexpected output format"}
131
  def process_paragraph_2_sent_tone(paragraph):
132
  try:
133
  paragraph_index = int(paragraph.split(':')[0].replace('Paragraph ', '')) - 1
 
127
 
128
  return output
129
  except (IndexError, ValueError):
130
+ return {"Error": "Unexpected output format"}
131
  def process_paragraph_2_sent_tone(paragraph):
132
  try:
133
  paragraph_index = int(paragraph.split(':')[0].replace('Paragraph ', '')) - 1