Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ nltk.download('punkt')
|
|
120 |
open_api_key_token = os.getenv("OPEN_AI_API")
|
121 |
|
122 |
os.environ['OPENAI_API_KEY'] = open_api_key_token
|
123 |
-
pdf_path = "
|
124 |
|
125 |
db_uri = os.getenv("POSTGRESQL_CONNECTION")
|
126 |
|
@@ -1258,7 +1258,7 @@ def create_file_HF(file_path,directory,document_created = False):
|
|
1258 |
|
1259 |
def create_pdf(cname,ename,account_number, directory):
|
1260 |
|
1261 |
-
filled = FormWrapper("
|
1262 |
{
|
1263 |
'company name': cname,
|
1264 |
'employee name': ename,
|
|
|
120 |
open_api_key_token = os.getenv("OPEN_AI_API")
|
121 |
|
122 |
os.environ['OPENAI_API_KEY'] = open_api_key_token
|
123 |
+
pdf_path = "Input/Inbound.pdf"
|
124 |
|
125 |
db_uri = os.getenv("POSTGRESQL_CONNECTION")
|
126 |
|
|
|
1258 |
|
1259 |
def create_pdf(cname,ename,account_number, directory):
|
1260 |
|
1261 |
+
filled = FormWrapper("Input/LOA_Sample_new.pdf").fill(
|
1262 |
{
|
1263 |
'company name': cname,
|
1264 |
'employee name': ename,
|