Spaces:
Sleeping
Sleeping
Commit ·
b2cd959
1
Parent(s): 5cfc531
Add system
Browse files117 unmodified lines11811912012112212312412542 unmodified lines168169170171172173174175117 unmodified linesdata = request.get_json()claim = data.get("claim", "no input")time_range_option = data.get("time_range", "month")system_start_time = datetime.now()system_start_time = datetime.system_start_time().isoformat()suggestion_meta = data.get("suggestion_meta")pledge_date = data.get("pledge_date", "")pledge_author = data.get("pledge_author", "")42 unmodified linesdf.to_json(json_path, orient="records", indent=2)system_end_time = datetime.now()system_end_time = datetime.system_end_time().isoformat()runtime = system_end_time - system_start_timeevents = df.to_dict(orient="records")117 unmodified lines11811912012112212312412542 unmodified lines168169170171172173174175117 unmodified linesdata = request.get_json()claim = data.get("claim", "no input")time_range_option = data.get("time_range", "month")system_start_time = datetime.now().isoformat()suggestion_meta = data.get("suggestion_meta")pledge_date = data.get("pledge_date", "")pledge_author = data.get("pledge_author", "")42 unmodified linesdf.to_json(json_path, orient="records", indent=2)system_end_time = datetime.now().isoformat()runtime = system_end_time - system_start_timeevents = df.to_dict(orient="records")
app.py+4-4