Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1244,15 +1244,15 @@ def handle_large_dataset(df, create_document,isDataFrame):
|
|
1244 |
|
1245 |
else:
|
1246 |
return "Your query returns a large dataset which is not supported in the current version. Please try a different query."
|
1247 |
-
|
1248 |
-
|
1249 |
|
1250 |
-
|
1251 |
{
|
1252 |
'company name': cname,
|
1253 |
'employee name': ename,
|
1254 |
-
'account number': account_number
|
1255 |
-
|
1256 |
|
1257 |
},
|
1258 |
)
|
|
|
1244 |
|
1245 |
else:
|
1246 |
return "Your query returns a large dataset which is not supported in the current version. Please try a different query."
|
1247 |
+
|
1248 |
+
def create_pdf(cname,ename):
|
1249 |
|
1250 |
+
filled = FormWrapper("LOA_Sample_new.pdf").fill(
|
1251 |
{
|
1252 |
'company name': cname,
|
1253 |
'employee name': ename,
|
1254 |
+
'account number': account_number
|
1255 |
+
|
1256 |
|
1257 |
},
|
1258 |
)
|