Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,12 +57,11 @@ def predict(age, bmi, children, sex, smoker, region):
|
|
57 |
log_folder = Path("logs/")
|
58 |
|
59 |
scheduler = CommitScheduler(
|
60 |
-
repo_id="
|
61 |
repo_type="dataset",
|
62 |
folder_path=log_folder,
|
63 |
path_in_repo="data",
|
64 |
every=2, # Adjust the scheduling as needed
|
65 |
-
token=hf_token # Pass the token to the scheduler
|
66 |
)
|
67 |
|
68 |
# Set up UI components for input and output
|
|
|
57 |
log_folder = Path("logs/")
|
58 |
|
59 |
scheduler = CommitScheduler(
|
60 |
+
repo_id="insurance-charge-mlops-logs", # Replace 'your-username' with your actual username
|
61 |
repo_type="dataset",
|
62 |
folder_path=log_folder,
|
63 |
path_in_repo="data",
|
64 |
every=2, # Adjust the scheduling as needed
|
|
|
65 |
)
|
66 |
|
67 |
# Set up UI components for input and output
|