Spaces:
Sleeping
Sleeping
dinhquangson
commited on
Commit
•
5cfedf9
1
Parent(s):
a151662
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ async def create_upload_file(file: UploadFile = File(...)):
|
|
81 |
# Here you can save the file and do other operations as needed
|
82 |
if '.json' in file_savePath:
|
83 |
full_dataset = load_dataset('json',
|
84 |
-
data_files=
|
85 |
cache_dir=temp_path,
|
86 |
keep_in_memory=True,
|
87 |
num_proc=NUM_PROC*2)
|
|
|
81 |
# Here you can save the file and do other operations as needed
|
82 |
if '.json' in file_savePath:
|
83 |
full_dataset = load_dataset('json',
|
84 |
+
data_files=file_savePath,
|
85 |
cache_dir=temp_path,
|
86 |
keep_in_memory=True,
|
87 |
num_proc=NUM_PROC*2)
|