Spaces:
Sleeping
Sleeping
Commit
·
d99e6bd
1
Parent(s):
06d0c78
Add system
Browse files- .DS_Store +0 -0
- system/.DS_Store +0 -0
- system/pledge_tracking.py +1 -0
- test.html +19 -3
.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
system/.DS_Store
CHANGED
|
Binary files a/system/.DS_Store and b/system/.DS_Store differ
|
|
|
system/pledge_tracking.py
CHANGED
|
@@ -184,6 +184,7 @@ def run_pipeline(claim, pledge_date, pledge_author, start_date, timestamp, user_
|
|
| 184 |
df = pd.DataFrame(sorted_events)
|
| 185 |
sorted_event_path = f"{pipeline_base_dir}/sorted_events.xlsx"
|
| 186 |
df.to_excel(sorted_event_path, index=False)
|
|
|
|
| 187 |
|
| 188 |
# if update_fn:
|
| 189 |
# update_fn(step_id, "All done!")
|
|
|
|
| 184 |
df = pd.DataFrame(sorted_events)
|
| 185 |
sorted_event_path = f"{pipeline_base_dir}/sorted_events.xlsx"
|
| 186 |
df.to_excel(sorted_event_path, index=False)
|
| 187 |
+
print(sorted_event_path)
|
| 188 |
|
| 189 |
# if update_fn:
|
| 190 |
# update_fn(step_id, "All done!")
|
test.html
CHANGED
|
@@ -424,9 +424,25 @@
|
|
| 424 |
checkBtn.classList.add("opacity-50", "cursor-not-allowed");
|
| 425 |
|
| 426 |
// document.getElementById("status").classList.remove("hidden");
|
| 427 |
-
statusElement.innerHTML = renderStatus({});
|
| 428 |
-
document.getElementById("result").classList.remove("hidden");
|
| 429 |
-
document.getElementById("progress").classList.remove("hidden");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 430 |
|
| 431 |
|
| 432 |
|
|
|
|
| 424 |
checkBtn.classList.add("opacity-50", "cursor-not-allowed");
|
| 425 |
|
| 426 |
// document.getElementById("status").classList.remove("hidden");
|
| 427 |
+
// statusElement.innerHTML = renderStatus({});
|
| 428 |
+
// document.getElementById("result").classList.remove("hidden");
|
| 429 |
+
// document.getElementById("progress").classList.remove("hidden");
|
| 430 |
+
|
| 431 |
+
document.getElementById("status").innerHTML = "";
|
| 432 |
+
document.getElementById("result").classList.add("hidden");
|
| 433 |
+
document.getElementById("progress").classList.add("hidden");
|
| 434 |
+
document.getElementById("result").querySelector("p").innerHTML = "";
|
| 435 |
+
if (window.pollIntervalId) {
|
| 436 |
+
clearInterval(window.pollIntervalId);
|
| 437 |
+
window.pollIntervalId = null;
|
| 438 |
+
}
|
| 439 |
+
Object.keys(feedbackData).forEach(key => delete feedbackData[key]);
|
| 440 |
+
lastUsedFile = null;
|
| 441 |
+
lastUserId = null;
|
| 442 |
+
lastTimestamp = null;
|
| 443 |
+
|
| 444 |
+
// 🔄 可以预先显示提示
|
| 445 |
+
document.getElementById("result").querySelector("p").textContent = "⏳ Please wait, checking...";
|
| 446 |
|
| 447 |
|
| 448 |
|