Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def infer(prompt,negative_prompt,seed,resolution):
|
|
49 |
w,h = resolution.split()
|
50 |
w,h = int(w),int(h)
|
51 |
# image = pipe(prompt,num_inference_steps=30, negative_prompt=negative_prompt,generator=generator,width=w,height=h).images[0]
|
52 |
-
url = "http://engine.
|
53 |
|
54 |
payload = json.dumps({
|
55 |
"prompt": prompt,
|
|
|
49 |
w,h = resolution.split()
|
50 |
w,h = int(w),int(h)
|
51 |
# image = pipe(prompt,num_inference_steps=30, negative_prompt=negative_prompt,generator=generator,width=w,height=h).images[0]
|
52 |
+
url = "http://engine.int.bria-api.com/v1/text-to-image/base/3.2"
|
53 |
|
54 |
payload = json.dumps({
|
55 |
"prompt": prompt,
|