Spaces:
Sleeping
Sleeping
app20
Browse files
app.py
CHANGED
@@ -27,10 +27,13 @@ from langchain.document_loaders import PyPDFDirectoryLoader
|
|
27 |
from pydantic import BaseModel, Field
|
28 |
from langchain.output_parsers import PydanticOutputParser
|
29 |
from langchain_community.llms import HuggingFaceHub
|
|
|
30 |
|
31 |
from pydantic import BaseModel
|
32 |
import shutil
|
33 |
|
|
|
|
|
34 |
# Cell 1: Image Classification Model
|
35 |
image_pipeline = pipeline(task="image-classification", model="microsoft/resnet-50")
|
36 |
|
|
|
27 |
from pydantic import BaseModel, Field
|
28 |
from langchain.output_parsers import PydanticOutputParser
|
29 |
from langchain_community.llms import HuggingFaceHub
|
30 |
+
from langchain_community.document_loaders import WebBaseLoader
|
31 |
|
32 |
from pydantic import BaseModel
|
33 |
import shutil
|
34 |
|
35 |
+
|
36 |
+
|
37 |
# Cell 1: Image Classification Model
|
38 |
image_pipeline = pipeline(task="image-classification", model="microsoft/resnet-50")
|
39 |
|