Spaces:
Sleeping
Sleeping
Commit
Β·
0fe4b3c
1
Parent(s):
60c8e28
reducing points
Browse files- app.py +1 -1
- matches.json +1 -1
app.py
CHANGED
|
@@ -145,7 +145,7 @@ def submit_prediction(
|
|
| 145 |
st.error("Prediction submission time has passed. Predictions can't be submitted after match start.")
|
| 146 |
return
|
| 147 |
|
| 148 |
-
if bid_points > max_bid_points or bid_points
|
| 149 |
st.error(f"Oops, Invalid bid! π You must bid at least 100 points and not exceed the 20% limit of your total points. Maximum allowed bid points: {max_bid_points}.")
|
| 150 |
# st.error(f"Oops! π Looks like you're going overboard with your bid points! Your bid points cannot exceed your total points. Maximum allowed bid points: {max_bid_points} π±")
|
| 151 |
return
|
|
|
|
| 145 |
st.error("Prediction submission time has passed. Predictions can't be submitted after match start.")
|
| 146 |
return
|
| 147 |
|
| 148 |
+
if bid_points > max_bid_points or bid_points <= 0:
|
| 149 |
st.error(f"Oops, Invalid bid! π You must bid at least 100 points and not exceed the 20% limit of your total points. Maximum allowed bid points: {max_bid_points}.")
|
| 150 |
# st.error(f"Oops! π Looks like you're going overboard with your bid points! Your bid points cannot exceed your total points. Maximum allowed bid points: {max_bid_points} π±")
|
| 151 |
return
|
matches.json
CHANGED
|
@@ -162,7 +162,7 @@
|
|
| 162 |
{
|
| 163 |
"match_id": "20250403_1",
|
| 164 |
"date": "2025-04-03",
|
| 165 |
-
"time": "
|
| 166 |
"teams": [
|
| 167 |
"KKR",
|
| 168 |
"SRH"
|
|
|
|
| 162 |
{
|
| 163 |
"match_id": "20250403_1",
|
| 164 |
"date": "2025-04-03",
|
| 165 |
+
"time": "9:32 PM",
|
| 166 |
"teams": [
|
| 167 |
"KKR",
|
| 168 |
"SRH"
|