iatechaways commited on
Commit
a5484dc
·
verified ·
1 Parent(s): 37ab447

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,8 +89,8 @@ def infer_and_respond(email_text: str, mail_type: str):
89
  return clean_and_package(raw, mail_type, client)
90
 
91
  def app_handle(email_text): # frontend wrapper - keep syncronous
92
- # Let the model classify the email type automatically
93
- mail_type = "Query" # default, model will determine actual type
94
  result = infer_and_respond(email_text, mail_type)
95
  formatted_text = format_response_text(result)
96
  return result, formatted_text
 
89
  return clean_and_package(raw, mail_type, client)
90
 
91
  def app_handle(email_text): # frontend wrapper - keep syncronous
92
+ # Let the model classify the email type automatically
93
+ mail_type = "Query" # default, model will determine actual type
94
  result = infer_and_respond(email_text, mail_type)
95
  formatted_text = format_response_text(result)
96
  return result, formatted_text