Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -663,7 +663,7 @@ with tab2:
|
|
| 663 |
del st.session_state[key]
|
| 664 |
|
| 665 |
if slate_var1 == 'User':
|
| 666 |
-
initial_proj = proj_dataframe[['Player', 'Team', 'Position', 'Median', 'Own', '
|
| 667 |
|
| 668 |
# Define the calculation to be applied
|
| 669 |
def calculate_own(position, own, mean_own, factor, max_own=75):
|
|
@@ -688,7 +688,7 @@ with tab2:
|
|
| 688 |
|
| 689 |
elif slate_var1 != 'User':
|
| 690 |
# Copy only the necessary columns
|
| 691 |
-
initial_proj = raw_baselines[['Player', 'Team', 'Position', 'Median', 'Own', '
|
| 692 |
|
| 693 |
# Define the calculation to be applied
|
| 694 |
def calculate_own(position, own, mean_own, factor, max_own=75):
|
|
|
|
| 663 |
del st.session_state[key]
|
| 664 |
|
| 665 |
if slate_var1 == 'User':
|
| 666 |
+
initial_proj = proj_dataframe[['Player', 'Team', 'Position', 'Median', 'Own', 'Salary']]
|
| 667 |
|
| 668 |
# Define the calculation to be applied
|
| 669 |
def calculate_own(position, own, mean_own, factor, max_own=75):
|
|
|
|
| 688 |
|
| 689 |
elif slate_var1 != 'User':
|
| 690 |
# Copy only the necessary columns
|
| 691 |
+
initial_proj = raw_baselines[['Player', 'Team', 'Position', 'Median', 'Own', 'Salary']]
|
| 692 |
|
| 693 |
# Define the calculation to be applied
|
| 694 |
def calculate_own(position, own, mean_own, factor, max_own=75):
|