Spaces:
Sleeping
Sleeping
arithescientist
commited on
Commit
·
24b60d3
1
Parent(s):
c0a36c8
Update app.py
Browse files
app.py
CHANGED
@@ -29,10 +29,10 @@ bert_legal_model = Summarizer(custom_model=custom_model, custom_tokenizer=custom
|
|
29 |
from zipfile import ZipFile
|
30 |
|
31 |
def zip_to_json(file_obj):
|
32 |
-
with
|
33 |
-
|
34 |
|
35 |
-
|
36 |
|
37 |
#def pdf(file_name):
|
38 |
|
|
|
29 |
from zipfile import ZipFile
|
30 |
|
31 |
def zip_to_json(file_obj):
|
32 |
+
with open(file_obj, 'w') as fh:
|
33 |
+
fh.write('<content>')
|
34 |
|
35 |
+
return fh
|
36 |
|
37 |
#def pdf(file_name):
|
38 |
|