CreatorJarvis commited on
Commit
fdb4ae4
·
verified ·
1 Parent(s): 3c69511

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def _make_pipe(model_id: str):
29
  pipe = pipeline(
30
  "image-text-to-text",
31
  model=model_id,
32
- device=device_arg,
33
  dtype=DTYPE,
34
  )
35
  model = getattr(pipe, "model", None)
 
29
  pipe = pipeline(
30
  "image-text-to-text",
31
  model=model_id,
32
+ device=torch.float16,
33
  dtype=DTYPE,
34
  )
35
  model = getattr(pipe, "model", None)