multimodalart HF staff commited on
Commit
8676a42
·
verified ·
1 Parent(s): 542d571

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def infer(prompt, negative, scale):
26
  print(url)
27
  payload = {'prompt': prompt, 'negative_prompt': negative, 'guidance_scale': scale}
28
  images_request = requests.post(url, json = payload)
29
- print(images_request)
30
  for image in images_request.json()["images"]:
31
  image_b64 = (f"data:image/jpeg;base64,{image}")
32
  images.append(image_b64)
 
26
  print(url)
27
  payload = {'prompt': prompt, 'negative_prompt': negative, 'guidance_scale': scale}
28
  images_request = requests.post(url, json = payload)
29
+ print(images_request.text)
30
  for image in images_request.json()["images"]:
31
  image_b64 = (f"data:image/jpeg;base64,{image}")
32
  images.append(image_b64)