Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,8 +42,7 @@ def generate_checklist(pdf_file):
|
|
| 42 |
)
|
| 43 |
checklist = response["choices"][0]["message"]["content"]
|
| 44 |
except Exception as e:
|
| 45 |
-
|
| 46 |
-
return f"Error generating checklist: {str(e)}"
|
| 47 |
|
| 48 |
return checklist
|
| 49 |
|
|
|
|
| 42 |
)
|
| 43 |
checklist = response["choices"][0]["message"]["content"]
|
| 44 |
except Exception as e:
|
| 45 |
+
return f"Error generating checklist: {str(e)}"
|
|
|
|
| 46 |
|
| 47 |
return checklist
|
| 48 |
|