Spaces:
Sleeping
Sleeping
Commit ·
b2cd959
1
Parent(s): 5cfc531
Add system
Browse files117 unmodified lines11811912012112212112212312412542 unmodified lines168169170171172171172173174175117 unmodified lines data = 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() 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 lines df.to_json(json_path, orient="records", indent=2)
system_end_time = datetime.now() system_end_time = datetime.system_end_time().isoformat() system_end_time = datetime.now().isoformat()
runtime = system_end_time - system_start_time
events = df.to_dict(orient="records")app.py+4-4