stefanbenten commited on
Commit
401c6aa
1 Parent(s): c988064

app.py: switching up the job type for v2

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ class Prodia:
42
 
43
 
44
  def generate_v2(self, config):
45
- response = self._post("https://inference.prodia.com/v2/job", {"type": "v2.job.sdxl.txt2img", "config": config}, v2=True)
46
  return Image.open(BytesIO(response.content)).convert("RGBA")
47
 
48
 
 
42
 
43
 
44
  def generate_v2(self, config):
45
+ response = self._post("https://inference.prodia.com/v2/job", {"type": "inference.sdxl.txt2img.v1", "config": config}, v2=True)
46
  return Image.open(BytesIO(response.content)).convert("RGBA")
47
 
48