Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,10 +26,10 @@ class Client:
|
|
26 |
)
|
27 |
return res.json()
|
28 |
|
29 |
-
def send_images(self,
|
30 |
res = self.c.post(
|
31 |
API_URL,
|
32 |
-
json={'
|
33 |
)
|
34 |
return res.json()
|
35 |
|
|
|
26 |
)
|
27 |
return res.json()
|
28 |
|
29 |
+
def send_images(self, text, images):
|
30 |
res = self.c.post(
|
31 |
API_URL,
|
32 |
+
json={'incoming_file': images, 'text': text}
|
33 |
)
|
34 |
return res.json()
|
35 |
|