Spaces:
Sleeping
Sleeping
Commit ·
fa48a1e
1
Parent(s): 6c7c762
Remove retry flag
Browse files
app.py
CHANGED
|
@@ -133,8 +133,6 @@ def parse_from_category(category, extracted_text):
|
|
| 133 |
print("\tProcessed text")
|
| 134 |
try:
|
| 135 |
information = chain.output_parser.parse_with_prompt(answer, formatted_prompt)
|
| 136 |
-
if information:
|
| 137 |
-
information['retry'] = True
|
| 138 |
information = information.json() if information else {}
|
| 139 |
except OutputParserException as e:
|
| 140 |
information = {
|
|
|
|
| 133 |
print("\tProcessed text")
|
| 134 |
try:
|
| 135 |
information = chain.output_parser.parse_with_prompt(answer, formatted_prompt)
|
|
|
|
|
|
|
| 136 |
information = information.json() if information else {}
|
| 137 |
except OutputParserException as e:
|
| 138 |
information = {
|