svjack commited on
Commit
fbebe9f
1 Parent(s): e4046eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def generate_txt2img(current_model, prompt, is_negative=False, image_style="None
86
  }
87
 
88
  #image_bytes = requests.post(API_URL, headers=headers, json=payload).content
89
- image = model_api(data = payload)
90
  return image
91
  '''
92
  image = Image.open(io.BytesIO(image_bytes))
 
86
  }
87
 
88
  #image_bytes = requests.post(API_URL, headers=headers, json=payload).content
89
+ image = api(data = payload)
90
  return image
91
  '''
92
  image = Image.open(io.BytesIO(image_bytes))