jeanpoll commited on
Commit
5b85b61
·
1 Parent(s): 0acdafb

debugging errors next

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -55,13 +55,15 @@ def display_email(text, part=1):
55
  None, None, None, None
56
 
57
 
58
- utils.f_setup_logger(level_sysout=logging.ERROR, level_file=logging.DEBUG, folder_path="logs")
59
 
60
 
61
  iface = gradio.Interface(title="Parser of email",
62
  description="Small application that can extract a specific email in a thread of email,"
63
  " highlights the entities found in the text (person, organization, date,...)"
64
  " and extract email signature if any.",
 
 
65
  fn=display_email,
66
  inputs=["textbox",
67
  gradio.inputs.Number(default=1, label="Email number in thread")],
 
55
  None, None, None, None
56
 
57
 
58
+ utils.f_setup_logger(level_sysout=logging.DEBUG, level_file=logging.DEBUG, folder_path="logs")
59
 
60
 
61
  iface = gradio.Interface(title="Parser of email",
62
  description="Small application that can extract a specific email in a thread of email,"
63
  " highlights the entities found in the text (person, organization, date,...)"
64
  " and extract email signature if any.",
65
+ article="The model used to detect signature is described in detail in this article"
66
+ "<a href=\"https://medium.com/@jean-baptiste.polle/lstm-model-for-email-signature-detection-8e990384fefa\">",
67
  fn=display_email,
68
  inputs=["textbox",
69
  gradio.inputs.Number(default=1, label="Email number in thread")],