Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,6 @@ with gr.Blocks() as demo:
|
|
45 |
gen_kwargs = {
|
46 |
"min_length": min_length,
|
47 |
"max_length": max_length,
|
48 |
-
"num_beams": beam_size,
|
49 |
}
|
50 |
pixel_values = image_processor(frames, return_tensors="pt").pixel_values.to(
|
51 |
device
|
|
|
45 |
gen_kwargs = {
|
46 |
"min_length": min_length,
|
47 |
"max_length": max_length,
|
|
|
48 |
}
|
49 |
pixel_values = image_processor(frames, return_tensors="pt").pixel_values.to(
|
50 |
device
|