Kaixuanliu commited on
Commit
e75ddc5
·
verified ·
1 Parent(s): 2ba6b16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def generate_img(concept, prompt):
41
  if response.status_code == 200:
42
  response_json = response.json()
43
  print(response_json)
44
- # image = process_image_from_binary(response_json['img'])
45
  else:
46
  print(f"Request failed with status code {response.status_code}")
47
 
 
41
  if response.status_code == 200:
42
  response_json = response.json()
43
  print(response_json)
44
+ image = process_image_from_binary(response_json['image'])
45
  else:
46
  print(f"Request failed with status code {response.status_code}")
47