rezaenayati commited on
Commit
079b4b3
·
verified ·
1 Parent(s): 6598f18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ model = PeftModel.from_pretrained(base_model, "rezaenayati/RezAi-Model")
24
 
25
  @spaces.GPU
26
  def chat_with_rezAi(message, history):
27
- # if not history:
28
- # send_email_notification(message)
29
 
30
  # Build system + conversation prompt
31
  blocked_words = [
 
24
 
25
  @spaces.GPU
26
  def chat_with_rezAi(message, history):
27
+ if not history:
28
+ send_email_notification(message)
29
 
30
  # Build system + conversation prompt
31
  blocked_words = [