Spaces:
Sleeping
Sleeping
Commit
·
9b1ef15
1
Parent(s):
a32dd35
Add system
Browse files- app.py +1 -1
- system/pledge_tracking.py +1 -0
app.py
CHANGED
@@ -188,7 +188,7 @@ def run_model():
|
|
188 |
repo_type="dataset",
|
189 |
token=HF_TOKEN
|
190 |
)
|
191 |
-
update_status(7, "✅ done")
|
192 |
|
193 |
except Exception as e:
|
194 |
traceback.print_exc()
|
|
|
188 |
repo_type="dataset",
|
189 |
token=HF_TOKEN
|
190 |
)
|
191 |
+
# update_status(7, "✅ done")
|
192 |
|
193 |
except Exception as e:
|
194 |
traceback.print_exc()
|
system/pledge_tracking.py
CHANGED
@@ -187,6 +187,7 @@ def run_pipeline(claim, pledge_date, pledge_author, start_date, timestamp, user_
|
|
187 |
|
188 |
if update_fn:
|
189 |
update_fn(step_id, "All events are sorted!")
|
|
|
190 |
|
191 |
return {
|
192 |
"claim_json": claim_json_path,
|
|
|
187 |
|
188 |
if update_fn:
|
189 |
update_fn(step_id, "All events are sorted!")
|
190 |
+
step_id += 1
|
191 |
|
192 |
return {
|
193 |
"claim_json": claim_json_path,
|