Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def get_text_file(docs):
|
|
30 |
def get_csv_file(docs):
|
31 |
pass
|
32 |
|
33 |
-
def get_json_file(
|
34 |
temp_dir = tempfile.TemporaryDirectory()
|
35 |
temp_filepath = os.path.join(temp_dir.name, pdf_docs.name)
|
36 |
with open(temp_filepath, "wb") as f:
|
|
|
30 |
def get_csv_file(docs):
|
31 |
pass
|
32 |
|
33 |
+
def get_json_file(json_docs):
|
34 |
temp_dir = tempfile.TemporaryDirectory()
|
35 |
temp_filepath = os.path.join(temp_dir.name, pdf_docs.name)
|
36 |
with open(temp_filepath, "wb") as f:
|