Spaces:
Sleeping
Sleeping
Commit
·
5bee751
1
Parent(s):
8322a2b
enhance
Browse files
app.py
CHANGED
|
@@ -154,7 +154,6 @@ def submit_prediction(
|
|
| 154 |
st.error("Prediction submission time has passed. Predictions can't be submitted after match start.")
|
| 155 |
return
|
| 156 |
|
| 157 |
-
st.write(f"Bid points range you can submit: {bid_points} and {min_bid_points} to {max_bid_points}")
|
| 158 |
if bid_points < min_bid_points:
|
| 159 |
st.error(
|
| 160 |
f"Oops, your bid is too low! 🚫 Minimum allowed bid is {min_bid_points} (10% of your points)."
|
|
@@ -269,9 +268,7 @@ def user_selection_and_prediction():
|
|
| 269 |
|
| 270 |
bid_points = st.number_input(
|
| 271 |
"Bid Points",
|
| 272 |
-
|
| 273 |
-
max_value=max_bid_points,
|
| 274 |
-
value=min_bid_points,
|
| 275 |
step=1,
|
| 276 |
format="%d"
|
| 277 |
)
|
|
|
|
| 154 |
st.error("Prediction submission time has passed. Predictions can't be submitted after match start.")
|
| 155 |
return
|
| 156 |
|
|
|
|
| 157 |
if bid_points < min_bid_points:
|
| 158 |
st.error(
|
| 159 |
f"Oops, your bid is too low! 🚫 Minimum allowed bid is {min_bid_points} (10% of your points)."
|
|
|
|
| 268 |
|
| 269 |
bid_points = st.number_input(
|
| 270 |
"Bid Points",
|
| 271 |
+
value=0,
|
|
|
|
|
|
|
| 272 |
step=1,
|
| 273 |
format="%d"
|
| 274 |
)
|