Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
28 |
-
|
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 = [
|