Spaces:
Sleeping
Sleeping
Commit ·
e8291aa
1
Parent(s): 8b06812
writing to predictions.csv
Browse filesFiles changed (2)
- app.py+7-7
- predictions.csv+4
90 unmodified lines919293949596128 unmodified lines22522622722822923023123223323423523623790 unmodified linesreturn False # If match_id not found, default to False# Submit prediction functiondef submit_prediction(user_name,128 unmodified linesst.write("Leaderboard data not available.")def load_predictions(PREDICTIONS_CSV):try:return pd.read_csv(PREDICTIONS_CSV)except FileNotFoundError:return pd.DataFrame()# Show Predictions functionalitydef show_todays_match_predictions():# Get today's matches90 unmodified lines919293949596979899100101102103128 unmodified lines23223323423523623790 unmodified linesreturn False # If match_id not found, default to Falsedef load_predictions(PREDICTIONS_CSV):try:return pd.read_csv(PREDICTIONS_CSV)except FileNotFoundError:return pd.DataFrame()# Submit prediction functiondef submit_prediction(user_name,128 unmodified linesst.write("Leaderboard data not available.")# Show Predictions functionalitydef show_todays_match_predictions():# Get today's matches
26 unmodified lines27282926 unmodified linesVaibhav,20240323_3,KKR,Mitchell Starc,300Neha,20240323_3,KKR,Rinku Singh,300Vinay,20240323_3,SRH,Pat Cummins,10026 unmodified lines2728293031323326 unmodified linesVaibhav,20240323_3,KKR,Mitchell Starc,300Neha,20240323_3,KKR,Rinku Singh,300Vinay,20240323_3,SRH,Pat Cummins,100Sunil,20240325_6,RCB,Glenn Maxwell,900Sahil,20240325_6,RCB,Virat Kohli,350Vinay,20240325_6,RCB,Faf du Plessis,200Megha,20240325_6,RCB,Virat Kohli,500
app.py+7-7
predictions.csv+4