Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,8 @@ pipe = pipeline(
|
|
33 |
batch_size=BATCH_SIZE,
|
34 |
torch_dtype=torch_dtype,
|
35 |
device=device,
|
36 |
-
model_kwargs=model_kwargs
|
|
|
37 |
)
|
38 |
|
39 |
|
|
|
33 |
batch_size=BATCH_SIZE,
|
34 |
torch_dtype=torch_dtype,
|
35 |
device=device,
|
36 |
+
model_kwargs=model_kwargs,
|
37 |
+
trust_remote_code=True
|
38 |
)
|
39 |
|
40 |
|