LPDoctor commited on
Commit
4e00f33
1 Parent(s): c2a93d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,