Spaces:
Sleeping
Sleeping
T1ckbase
commited on
Commit
·
2a14a22
1
Parent(s):
cd1d1c8
main.ts
CHANGED
|
@@ -75,6 +75,7 @@ app.post('/v1/images/generations', async (c) => {
|
|
| 75 |
console.log('request body:', params);
|
| 76 |
|
| 77 |
const targetUrl = `${HF_API_URL}/models/${params.model}`;
|
|
|
|
| 78 |
|
| 79 |
const { width = 1024, height = 1024 } = parseResolution(params.size as string);
|
| 80 |
|
|
|
|
| 75 |
console.log('request body:', params);
|
| 76 |
|
| 77 |
const targetUrl = `${HF_API_URL}/models/${params.model}`;
|
| 78 |
+
console.log(targetUrl);
|
| 79 |
|
| 80 |
const { width = 1024, height = 1024 } = parseResolution(params.size as string);
|
| 81 |
|