Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ class NotificationHandler(HandleNotification):
|
|
31 |
try:
|
32 |
msg = nip04_decrypt(sk, event.author(), event.content())
|
33 |
print(f"Received new msg: {msg}")
|
34 |
-
result =
|
35 |
message=msg,
|
36 |
api_name="/chat"
|
37 |
)
|
|
|
31 |
try:
|
32 |
msg = nip04_decrypt(sk, event.author(), event.content())
|
33 |
print(f"Received new msg: {msg}")
|
34 |
+
result = gclient.predict(
|
35 |
message=msg,
|
36 |
api_name="/chat"
|
37 |
)
|