Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def load_summarization_pipeline():
|
|
15 |
# Adding trust_remote_code=True allows loading models with custom code.
|
16 |
summarizer = pipeline(
|
17 |
"summarization",
|
18 |
-
model="
|
19 |
trust_remote_code=True
|
20 |
)
|
21 |
return summarizer
|
|
|
15 |
# Adding trust_remote_code=True allows loading models with custom code.
|
16 |
summarizer = pipeline(
|
17 |
"summarization",
|
18 |
+
model="llava-hf/llava-interleave-qwen-0.5b-hf",
|
19 |
trust_remote_code=True
|
20 |
)
|
21 |
return summarizer
|