Arjun Singh commited on
Commit
ff7fad1
·
1 Parent(s): 18bd6bb

second output

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def call_api_and_generate_image(negative_prompt, positive_prompt,seed, source_im
38
  )
39
 
40
  result = resp.json()
41
- base64_initial = result['result'][0]['data']
42
  image_data = base64.b64decode(base64_initial)
43
  image_output = Image.open(io.BytesIO(image_data))
44
 
 
38
  )
39
 
40
  result = resp.json()
41
+ base64_initial = result['result'][1]['data']
42
  image_data = base64.b64decode(base64_initial)
43
  image_output = Image.open(io.BytesIO(image_data))
44