Spaces:
Running
on
T4
Running
on
T4
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,
|