Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
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=
|
| 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)
|