Spaces:
Runtime error
Runtime error
Reloading all files: data/insurance.csv, app.py, train_ic.py, requirements.txt
Browse files
app.py
CHANGED
|
@@ -42,6 +42,8 @@ insurance_charge_predictor = joblib.load(filename=saved_model_file_path)
|
|
| 42 |
# Prepare the logging functionality
|
| 43 |
log_file = Path("logs/") / f"data_{uuid.uuid4()}.json"
|
| 44 |
log_folder = log_file.parent
|
|
|
|
|
|
|
| 45 |
|
| 46 |
# Scheduler will log every 2 API calls:
|
| 47 |
scheduler = CommitScheduler(
|
|
|
|
| 42 |
# Prepare the logging functionality
|
| 43 |
log_file = Path("logs/") / f"data_{uuid.uuid4()}.json"
|
| 44 |
log_folder = log_file.parent
|
| 45 |
+
print(f"\nDebug:\n\tlog_file: {log_file}\n\tlog_folder: {log_folder}\n")
|
| 46 |
+
|
| 47 |
|
| 48 |
# Scheduler will log every 2 API calls:
|
| 49 |
scheduler = CommitScheduler(
|