Spaces:
Runtime error
Runtime error
finished app no frills
Browse files
app.py
CHANGED
|
@@ -106,6 +106,7 @@ def train_and_inference(api_key, ontology_id, model_run_id):
|
|
| 106 |
with open(os.path.join(destination_folder, filename), 'wb') as file:
|
| 107 |
for chunk in response.iter_content(8192):
|
| 108 |
file.write(chunk)
|
|
|
|
| 109 |
|
| 110 |
BASE_DIR = 'dataset'
|
| 111 |
|
|
|
|
| 106 |
with open(os.path.join(destination_folder, filename), 'wb') as file:
|
| 107 |
for chunk in response.iter_content(8192):
|
| 108 |
file.write(chunk)
|
| 109 |
+
file.close()
|
| 110 |
|
| 111 |
BASE_DIR = 'dataset'
|
| 112 |
|