Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
·
4ec028f
1
Parent(s):
3f2792e
test
Browse files
app.py
CHANGED
|
@@ -47,6 +47,8 @@ def infer(prompt,
|
|
| 47 |
seed = random.randint(0, MAX_SEED)
|
| 48 |
generator = torch.Generator().manual_seed(seed)
|
| 49 |
print(type(image))
|
|
|
|
|
|
|
| 50 |
result = pipe(
|
| 51 |
prompt = prompt,
|
| 52 |
image = image['image'],
|
|
|
|
| 47 |
seed = random.randint(0, MAX_SEED)
|
| 48 |
generator = torch.Generator().manual_seed(seed)
|
| 49 |
print(type(image))
|
| 50 |
+
for k,v in image:
|
| 51 |
+
print(k, type(v))
|
| 52 |
result = pipe(
|
| 53 |
prompt = prompt,
|
| 54 |
image = image['image'],
|