Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def infer(image, prompt,
|
|
42 |
max_length,
|
43 |
min_length,
|
44 |
top_p):
|
45 |
-
|
46 |
outputs = pipe(images=image, prompt=prompt,
|
47 |
generate_kwargs={"temperature":temperature,
|
48 |
"length_penalty":length_penalty,
|
|
|
42 |
max_length,
|
43 |
min_length,
|
44 |
top_p):
|
45 |
+
print("η±»εζ―οΌ",type(image))
|
46 |
outputs = pipe(images=image, prompt=prompt,
|
47 |
generate_kwargs={"temperature":temperature,
|
48 |
"length_penalty":length_penalty,
|