elia-waefler commited on
Commit
a232b2b
1 Parent(s): 6a48da2

added "import sys"

Browse files
Files changed (1) hide show
  1. backend/generate_metadata.py +2 -3
backend/generate_metadata.py CHANGED
@@ -1,9 +1,8 @@
1
  import os
2
-
3
  import argparse
4
  import json
5
  import openai
6
-
7
  from dotenv import load_dotenv
8
  from langchain_community.document_loaders import TextLoader
9
  from langchain_community.document_loaders import UnstructuredPDFLoader
@@ -12,7 +11,7 @@ from langchain_text_splitters import RecursiveCharacterTextSplitter
12
 
13
  from langchain_community.vectorstores import Vectara
14
 
15
- from schema import Metadata, BimDiscipline
16
 
17
  load_dotenv()
18
 
 
1
  import os
 
2
  import argparse
3
  import json
4
  import openai
5
+ import sys
6
  from dotenv import load_dotenv
7
  from langchain_community.document_loaders import TextLoader
8
  from langchain_community.document_loaders import UnstructuredPDFLoader
 
11
 
12
  from langchain_community.vectorstores import Vectara
13
 
14
+ from backend.schema import Metadata, BimDiscipline
15
 
16
  load_dotenv()
17