Themivito commited on
Commit
27744b6
·
verified ·
1 Parent(s): abce102

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -41,13 +41,12 @@ def generate_checklist(pdf_file):
41
  max_tokens=800
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
 
50
-
51
  except Exception as e:
52
  checklist = f"Error generating checklist: {str(e)}"
53
 
 
41
  max_tokens=800
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
 
 
50
  except Exception as e:
51
  checklist = f"Error generating checklist: {str(e)}"
52