mirror of
https://github.com/p-e-w/heretic.git
synced 2026-09-26 14:01:22 -07:00
fix: remove obsolete code from merge
This commit is contained in:
@@ -84,7 +84,6 @@ class Model:
|
|||||||
if get_model_class(settings.model) == AutoModelForImageTextToText:
|
if get_model_class(settings.model) == AutoModelForImageTextToText:
|
||||||
self.processor = AutoProcessor.from_pretrained(
|
self.processor = AutoProcessor.from_pretrained(
|
||||||
settings.model,
|
settings.model,
|
||||||
trust_remote_code=settings.trust_remote_code,
|
|
||||||
**self.revision_kwargs,
|
**self.revision_kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user