Spaces:
Running
Running
Update app.py
Browse files
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
|