Jay-Rajput commited on
Commit
0fe4b3c
Β·
1 Parent(s): 60c8e28

reducing points

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. 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 < 100:
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": "7:30 PM",
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"