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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -26,8 +26,9 @@ 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.text)
30
  for image in images_request.json()["images"]:
 
 
31
  image_b64 = (f"data:image/jpeg;base64,{image}")
32
  images.append(image_b64)
33
 
 
26
  print(url)
27
  payload = {'prompt': prompt, 'negative_prompt': negative, 'guidance_scale': scale}
28
  images_request = requests.post(url, json = payload)
 
29
  for image in images_request.json()["images"]:
30
+ print("Loading inside")
31
+ print(image)
32
  image_b64 = (f"data:image/jpeg;base64,{image}")
33
  images.append(image_b64)
34