philipp-zettl commited on
Commit
2fbe11e
·
verified ·
1 Parent(s): 98ca667

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,10 +26,10 @@ class Client:
26
  )
27
  return res.json()
28
 
29
- def send_images(self, images, text):
30
  res = self.c.post(
31
  API_URL,
32
- json={'incoming_files': images, 'text': text}
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