Spaces:
Paused
Paused
stefanbenten
commited on
Commit
•
401c6aa
1
Parent(s):
c988064
app.py: switching up the job type for v2
Browse files
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": "
|
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 |
|